-
**Describe the bug**
As you may know, I'm working on a schema sync to MySQL which should work with Tortoise ORM. For this to work good the schema that Tortoise generate should be as close to the resu…
-
I need to retrieve the latest record in the DB for certain device and to do that I need to use SQL DISTINCT feature.
Now I saw that the Tortoise package have distinct method but I didn't find a usa…
-
**Is your feature request related to a problem? Please describe.**
If we try to have cyclic referencing foreign keys, the schemas won't generate
**Describe the solution you'd like**
Support cycli…
-
- Use an ORM
- Refactor database table (user_id instead of user_snowflake in `streams`` for example)
- Set up some sort of migrations system
-
I have already initialized the database with aerich init-db etc.. and the migration works correctly except when I try to change foreign key properties
my models (simplified)
```
class Intervents(Mo…
-
I want to create blockchain backend app, based on piccolo. So I need custom `User` model (generally, without password field). As suggested in [docs](https://piccolo-orm.readthedocs.io/en/latest/piccol…
-
01-18 21:42:33 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_repeater)
01-18 21:42:33 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_repeater…
-
**Describe the bug**
Whenever I try to connect to a websocket connection from pytest, and I try to run some queries in the database, it crashes and returns the following error
Traceback:
```pyth…
-
Would be interesting to see how SQLAlchemy 1.4.13+ compares when using the new asyncio support.
SQLAlchemy 1.4 was heavily revamped to support async/await, and the API was cleaned up too in prepara…
-
I want to realize that a project can be switched dynamically schema
The way I do this is by initializing the link on every request, But the link may be occupied or closed
Is there a way to solve…