-
**Describe the bug**
I've created models like in this tutorial https://tortoise-orm.readthedocs.io/en/latest/models.html#inheritance and trying retrieve object of child class (from example it's UserM…
-
At first, thank you for such a great job! It's feel so good to use async ORM with familiar django-style. I'm planning to use tortoise in my new projects.
**Describe the bug**
I'm not able to apply…
-
## Issue: Implement PostgreSQL Database for Capturing Useful Statistics and Anonymous User Data Using Tortoise-ORM
### Problem Description
At present, the bot doesn't keep track of useful statisti…
-
### Problem
Beginners don't understand the relationship when they use `tortoise-orm` for the first time.
For example `One-to-one`, `One-to-many`, `Many-to-many` connections.
### Solution
Most engi…
-
When i use fastapi with tortoise-orm, how to print sql log to console? I connect to MySQL, I use the optional config echo=true, but it is not useful?
`
TORTOISE_ORM = {
"connections": {
…
-
```
# aerich init -t project.settings.DATABASE
...
File "/usr/local/lib/python3.11/site-packages/aerich/cli.py", line 205, in init
doc["tool"]["aerich"] = table
~~~^^^^^^^^
File "/u…
homm updated
2 months ago
-
**Is your feature request related to a problem? Please describe.**
The request is not related to a problem and it is about a new feature, namely, I would like to be able to do exact matching of eleme…
-
**Describe the bug**
I am using version 0.19.1 of tortoise-orm. It is not fetching the datetime fields of models correctly from from postgres database. This problem is not present in version 0.19.0.
…
-
In the Tortoise ORM documentation, the default connect_timeout is set to None.
See: https://tortoise.github.io/databases.html#id5
What is the actual default timeout before it cancels the request…
-
ChatGPT's take:
Creating Pydantic models from Tortoise ORM models can be convenient because it allows you to reuse the same class definitions and avoid duplicating code. Additionally, Pydantic mode…