0.103.0
SelectRaw
This allows you to access features in the database which aren't exposed directly by Piccolo. For example, Postgres functions:
from piccolo.query import SelectRaw
>>> await Band.select(
... Band.name,
... SelectRaw("log(popularity) AS log_popularity")
... )
[{'name': 'Pythonistas', 'log_popularity': 3.0}]
Large fixtures
Piccolo can now load large fixtures using piccolo fixtures load
. The rows are inserted in batches, so the database adapter doesn't raise any errors. Thanks to @lgblkb for reporting this.