tortoise-orm icon indicating copy to clipboard operation
tortoise-orm copied to clipboard

Familiar asyncio ORM for python, built with relations in mind

Results 389 tortoise-orm issues
Sort by recently updated
recently updated
newest added

Added more JSON filter functions under postgresql. ## Description Added most of the normal query API's to postgres's contrib json functions. Everything except for `search` command has been added along...

```python class TypeEnum(str, Enum): on = "ON" off = "OFF" recover = "RECOVER" class Record(models.Model): interactive_network_id: int id = fields.IntField(pk=True) type = fields.CharEnumField(TypeEnum) interactive_network = fields.ForeignKeyField( "my_models.InteractiveNetwork", related_name="records", index=True, )...

when you have a field type of fields.DateField or fields.DatetimeField and you need to query by date part as exemplified in: ``` class DatePart(Enum): year = "YEAR" quarter = "QUARTER"...

**Describe the bug** `ManyToManyField` issue, once i try to init my database this error will just pop up - https://hastebin.com/yerafaciri.rust which makes no sense because i am using `ManyToManyField` like...

I am using FastAPI with tortoise orm. I am trying to handle around 4 to 5 data retrievals and update the data. Every time I update, I am locking the...

While interacting with a Postgres database, I am unavailable to do most basic queries on JSON objects. The only ones tortoise allows are `equals`, `not`, `isnull` and `notnull`, which is...

**Describe the bug** Use save(force_update=True) after getting an instance will cause an unexpected error **To Reproduce** ```python from tortoise import Tortoise, fields, run_async from tortoise.models import Model class User(Model): id:...

**Describe the bug** raises this exception instead of deleting the model. ```py Traceback (most recent call last): File "/data/data/com.termux/files/home/workspaces/Ai/lib/python3.9/site-packages/tortoise/backends/sqlite/client.py", line 30, in translate_exceptions_ return await func(self, query, *args) File "/data/data/com.termux/files/home/workspaces/Ai/lib/python3.9/site-packages/tortoise/backends/sqlite/client.py",...

Bumps [sphinx-immaterial](https://github.com/jbms/sphinx-immaterial) from 0.8.0 to 0.8.1. Commits bf16975 Merge pull request #139 from jbms/fix-138 f889aad Add unit tests for nav_adapt and Python domain fixes 0f12699 Support only directives that impact...

dependencies
python

Bumps [psycopg](https://github.com/psycopg/psycopg) from 3.0.15 to 3.0.16. Changelog Sourced from psycopg's changelog. .. currentmodule:: psycopg .. index:: single: Release notes single: News psycopg release notes Future releases Psycopg 3.1 (unreleased) ^^^^^^^^^^^^^^^^^^^^^^^^...

dependencies
python