Just a regular old release.
Bugs fixed
- #641, fixed bug with exception wrapping and Python 2.6
- #634, fixed bug where correct query result wrapper was not being used for certain composite queries.
- #625, cleaned up some example code.
- #614, fixed bug with
aggregate_rows()
when there are multiple joins to the same table.
New features
- Added create_or_get() as a companion to
get_or_create()
. - Added support for
ON CONFLICT
clauses forUPDATE
andINSERT
queries. Docs. - Added a JSONKeyStore to
playhouse.kv
. - Added Cythonized version of
strip_parens()
, with plans to perhaps move more performance-critical code to Cython in the future. - Added docs on specifying vendor-specific database parameters.
- Added docs on specifying field default values (both client and server-side).
- Added docs on foreign key field back-references.
- Added docs for models without a primary key.
- Cleaned up docs on
prefetch()
andaggregate_rows()
.