Peewee v3.13.2 Release Notes
Release Date: 2020-03-27 // about 4 years ago-
- ๐ Allow aggregate functions to support an
ORDER BY
clause, via the addition of anorder_by()
method to the function (fn
) instance. Refs #2094. - ๐ Fix
prefetch()
bug, where related "backref" instances were marked as dirty, even though they had no changes. Fixes #2091. - ๐ Support
LIMIT 0
. Previously a limit of 0 would be translated into effectively an unlimited query on MySQL. References #2084. - ๐ Support indexing into arrays using expressions with Postgres array fields. References #2085.
- ๐ Ensure postgres introspection methods return the columns for multi-column indexes in the correct order. Fixes #2104.
- โ Add support for arrays of UUIDs to postgres introspection.
- ๐ Fix introspection of columns w/capitalized table names in postgres (#2110).
- ๐ Fix to ensure correct exception is raised in SqliteQueueDatabase when iterating over cursor/result-set.
- ๐ Fix bug comparing subquery against a scalar value. Fixes #2118.
- ๐ Fix issue resolving composite primary-keys that include foreign-keys when building the model-graph. Fixes #2115.
- ๐ Allow model-classes to be passed as arguments, e.g., to a table function. Refs #2131.
- Ensure postgres
JSONField.concat()
accepts expressions as arguments.
- ๐ Allow aggregate functions to support an