Closed sorasful closed 2 years ago
Hi. Thanks for creating an issue. This is not a mistake.
This async scheme is SQLAlchemy-specific. We don't need to use it with tortoise
or ormar
.
Thanks for the quick answer, do you mind elaborate why we don't need it for tortoise
and ormar
?
Thanks!
Beacuse tortoise doesn't support it. You can see supported schemas here: https://github.com/tortoise/tortoise-orm/blob/develop/tortoise/backends/base/config_generator.py#L13
Ormar also uses synchronous SQLAlchemy so it doesn't support async schemas.
Closed due to inactivity.
Hello,
While looking at the template here :
I noticed that for
SqlAlchemy
we use async scheme ("postgresql+asyncpg"
) but not for Ormar, is there a reason or it's just missing the template ?Thanks !