Open sunshineinwater opened 4 years ago
We have a generic 2DB example: https://tortoise-orm.readthedocs.io/en/latest/examples/basic.html#two-databases but nothing specific to sanic.
I also don't think expected behaviour is made clear very clear.
We have a generic 2DB example: https://tortoise-orm.readthedocs.io/en/latest/examples/basic.html#two-databases but nothing specific to sanic.
I also don't think expected behaviour is made clear very clear.
THX a lot. It's really a perfect async ORM. I decide to use it to write my new project.
You should use https://tortoise-orm.readthedocs.io/en/latest/router.html
Is there any Example about how to use multi-database in one Sanic project?
I need to use more than one database in one Sanic project. Is there any simple example about how to config it? (more than one database, but same database type: postgresql )