-
更新至最新版本后,发送`setu`命令出现报错:
(/st-r是自己加了命令别名)
```log
07-01 21:51:04 [SUCCESS] nonebot | OneBot V11 292****540 | [message.group.normal]: Message -66702554 from 174****912@[群:100****102] '/st-r'
07-01 2…
-
For my API, I send a few alter session statements on connect.
I would like to be able to specify an on connect hook such that recycled connections run said hook.
I would love to submit a PR for…
-
**Describe the bug**
Updating a jsonb field via bulk_update with an array containing string values with single quotes, the resulting SQL is incorrect due to lack of escaping which leads to the update…
-
Django ORM has support for what they call **symmetrical relationships**, that is a `ManyToMany` relationship on self. (see here https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.model…
-
To allow odd requirements, or using special SQL syntax that is not yet supported (or may never be) by Tortoise ORM we should provide a simple, clean, custom SQL interface.
### How do we identify th…
grigi updated
3 years ago
-
The scale and units are entirely missing, both from this data, the documentation around it, and it's use in an image on the tortoise README.rst file. Are they operations per second? On what kinda m…
-
I am using fastapi + tortoise orm. I have a postgres db with multiple databases inside it. I want to be able to use them. I can use one database by using the register_tortoise command, but am not able…
-
Here is the Model class, I used Index(fields="", name="") to custom a index:
```
class Sources(Model):
id = fields.BigIntField(pk=True)
create_time = fields.DatetimeField(null=False, aut…
-
python===3.10.6
aerich===0.7.1
tortoise-orm[aiomysql]==0.19.3
Aerich has no transaction rollback. I got a duplicate entry error after the first upgrade, and then I manually deleted the duplicat…
-
Sometimes I need to annotate queryset with field of the related model.
For example I want to get comments with an annotated user name for these models.
```python
from tortoise import fields
…