This release contains a number of small fixes and enhancements.
Bugs fixed
- #606, support self-referential joins with
prefetch
andaggregate_rows()
methods. - #588, accomodate changes in SQLite's
PRAGMA index_list()
return value. - #607, fixed bug where
pwiz
was not passing table names to introspector. - #591, fixed bug with handling of named cursors in older psycopg2 version.
- Removed some cruft from the
APSWDatabase
implementation.
New features
- Added CompressedField and AESEncryptedField
- #609, #610, added Django-style foreign key ID lookup. Docs.
- Added support for Hybrid Attributes (cool idea courtesy of SQLAlchemy).
- Added
upsert
keyword argument to theModel.save()
function (SQLite only). - #587, added support for
ON CONFLICT
SQLite clause forINSERT
andUPDATE
queries. Docs - #601, added hook for programmatically defining table names. Model options docs
- #581, #611, support connection pools with
playhouse.db_url.connect()
. Docs. - Added Contributing section section to docs.