+1
Daily
5,643
stars
545
forks
44
watchers
991
prs
1,310
issues
133
releases
Top issues
#819CTE Support22 comments · 2021-07-10#1094Error: Resetting connection with an active transaction <asyncpg.connection.Connection object at 0x00000....>20 comments · 2022-03-27#99Usage with Tornado (was: No DB associated to model)17 comments · 2019-02-03#2056The as_query method in the queryset.py file has been removed14 comments · 2026-01-14#237Ensure generate_schema EXACTLY the same as SHOW CREATE TABLE in MySQL14 comments · 2019-11-13#841How to select parent that contains certain children from his ManyToMany relation? 13 comments · 2021-07-28#70GIS support11 comments · 2018-12-05#756[help needed] Filter for list of relations does not work10 comments · 2021-05-05
Discussions
#2235Is the project active ?1 comments · 2026-07-04#2233Is it possible to tweak behavior of migration?3 comments · 2026-07-01#2073How to serialize annotate fields using pydantic_model_creator in Tortoise ORM?1 comments · 2026-02-07#2012Support instance-level update() with expressions and automatic refresh0 comments · 2025-10-20#2011ssh tunnel0 comments · 2025-10-20#2009Search0 comments · 2025-10-13#1990Unified state of objects0 comments · 2025-08-11#1975With supabase0 comments · 2025-06-26
Latest release
v1.1.9 1.1.9 2026-10-14What's Changed Added - Q.__bool__() so Q objects with no filters/children (including nested empty Q children) are falsy. (2227) - PostgreSQL password credential now accepts a sync or async callable, resolved once per new connection, to support short-lived credentials such as AWS RDS/Aurora IAM tokens and Azure Entra ID tokens. (2261) Changed - tortoise.contrib.starlette now only supports Starlette 1.0+ (This does not affect FastAPI users; you can continue using FastAPI with any version of Starlette). (2282) Fixed - Aggregates now apply _filter when the aggregated argument