-
**Describe the bug**
2024-06-21 00:36:31,185 [ERROR] Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tortoise/models.py", line 730, in _init_from_db
setattr(se…
-
# 记如何在 Tortoise Orm 中使用 Mysql 之 Json 查询 | 晨曦's Blog
前记在设计数据库的时候有一个 IP 字段,是用来存多个 IP 地址。于是设计成了 Json 类型,记一下如何在 Tortoise Orm 中使用 JSON_CONTAINS 使用Model123456789101112131415from tortoise import Model, fiel…
-
-
When I use aerich independently to migrate the database, the following error is reported.
tortoise.exceptions.ConfigurationError: DB configuration not initialised. Make sure to call Tortoise.init w…
-
**Describe the bug**
When the DB contains models with at least one field of type `tortoise.contrib.postgres.fields.TSVectorField`, the instance cannot be fetched by the ORM producing the following ex…
-
Since this library is an incompatible fork of pypika it would be good if the package directory, which is currently called pypika, would be renamed. Otherwise the original pypika and tortoise-orm confl…
-
**Describe the bug**
I'm going through the tortoise-orm tutorial and I'm getting bugs at every step, and some parts are confusing.
In this part, I didn't understand where `run_async` was coming fr…
-
As described above, I have a FastAPI application that uses the`concurrent.futures.ProcessPoolExecutor` module to perform CPU-intensive tasks and save the results to MySQL. However, it seems that I enc…
-
Can you cancel log output here
![image](https://user-images.githubusercontent.com/59251803/142368140-d21fa07f-e4c0-4aaa-bdd5-db6e8565f96e.png)
Because a long log appears every time debugging s…
-
This project used ORM is Peewee。
Peewee ORM is a simple and lightweight ORM, but it does not support asynchronous operations.
Can you change to tortoise ORM?