Releases: tortoise/tortoise-orm
Releases · tortoise/tortoise-orm
v0.15.16
v0.15.15
v0.15.14
v0.15.13
- Applies default ordering on related queries
- Fix post-ManyToMany related queries not being evaluated correctly
- Ordering is now preserved on ManyToMany related fetches
- Fix aggregate function on joined table to use correct primary key (#292)
- Fix filtering by backwards FK to use correct primary key
v0.15.12
0.15.11
v0.15.10
v0.15.9
v0.15.8
TextField
now recommends usage ofCharField
if wanting unique indexing instead of just saying "indexing not supported".count()
now honours offset and limit (#167)- Testing un-awaited
ForeignKeyField
as a boolean expression will automatically resolve asFalse
if it is None (#274) - Awaiting a nullable
ForeignKeyField
won't touch the DB if it isNone
(#274)
v0.15.7
QuerySet.Update()
now returns the count of the no of rows affected. Note, thatQuerySet.Delete()
now returns the count of the no of rows deleted.- Note that internal API of
db_connection.execute_query()
now returnsrows_affected, results
. (This is informational only) - Added
get_or_none(...)
as syntactic sugar forfilter(...).first()