-
## 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…
Salz0 updated
9 months ago
-
**Describe the bug**
When a field specifies `source_field`, `Model.__iter__()` no longer works.
**To Reproduce**
```python
from tortoise import Model
from tortoise.fields import BigIntField
cl…
-
### Discussed in https://github.com/tortoise/tortoise-orm/discussions/1555
Originally posted by **mmkhitaryan** February 10, 2024
```SELECT "sold_date","id","review","created_at","seller_id","…
-
```
class House(Model):
id = fields.IntField(pk=True)
house_name: str = fields.CharField(max_length=255)
info: str = fields.CharField(max_length=255)
user = fields.ForeignKeyField(
"…
-
tortoise支持celery吗?
-
```
# 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…
-
How can i print sql with register_tortoise() in fastapi?
-
docker-compose.yml : mise à jour de la commande uvicorn. ajout du param --reload-dir app
```
web:
build: .
restart: always
volumes:
- ./app:/fastapi-guide/app
command:…
-
I'm using fastapi and Tortoise ORM, I need add an no-database property to a model like this:
```
class Account(models.Model):
id = fields.IntField(pk=True)
email = fields.CharField(max_len…
ghost updated
3 months ago