PonyORM v0.6.rc3 Release Notes
Release Date: 2014-10-30 // over 9 years ago-
๐ Bugfixes
- ๐ Fixed #18: Allow to specify
size
andunsigned
for int type - ๐ Fixed #77: Discriminate Pony-generated fields in entities: Attribute.is_implicit field added
- ๐ Fixed #83: Entity.get() should issue LIMIT 2 when non-unique criteria used for search
- ๐ Fixed #84: executing db.insert() should turn off autocommit and begin transaction
- Fixed #88: composite_index(*attrs) added to support non-unique composite indexes
- ๐ Fixed #89: IN / NOT IN clauses works different with empty sequence
- ๐ Fixed #90: Do not automatically add "distinct" if query.first() used
- ๐ Fixed #91: document automatic "distinct" behaviour and also .without_distinct()
- ๐ Fixed #92: without_distinct() and first() do not work together correctly
๐ New features
size
andunsigned
options forint
attributeslink
๐ Since the
long
type has gone in Python 3, thelong
type is deprecated in Pony now. Instead oflong
you should use theint
type and specify thesize
option:class MyEntity(db.Entity): attr1 = Required(long) # deprecated attr2 = Required(int, size=64) # new way for using BIGINT type in the database
- ๐ Fixed #18: Allow to specify