Familiar asyncio ORM for python, built with relations in mind
APACHE-2.0 License
Bot releases are visible (Hide)
Published by grigi over 5 years ago
.count()
when a join happens (#109) (#118)Published by grigi over 5 years ago
Published by grigi over 5 years ago
Added ability to create tables with "unique_together" meta options (#112)
Published by grigi over 5 years ago
Fixed concurrency isolation when attempting to do multiple concurrent operations on a single connection.
Published by grigi over 5 years ago
.all()
actually returns the _query property as was documented.related_name
for ForeignKey fields.Published by grigi over 5 years ago
Added basic DB driver Capabilities.
Test runner now has the ability to skip tests conditionally, based on the DB driver Capabilities:
@requireCapability(dialect='sqlite')
async def test_run_sqlite_only(self):
...
Added per-field indexes.
When setting index=True
on a field, Tortoise will now generate an index for it.
NOTE:
Due to MySQL limitation of not supporting conditional index creation,
if `safe=True` (the default) is set, it won't create the index and emit a warning about it.
We plan to work around this limitation in a future release.
.explain()
method on QuerySet
.required
read-only property to fieldsPublished by grigi almost 6 years ago
BigIntField
→ can also be used as a primary key field.TimeDeltaField
Published by abondar almost 6 years ago