We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With use_connection_for_request=True and two DBs:
use_connection_for_request=True
db1.init_app(app) db2.init_app(app)
And in the fastapi router, query db1 and db2.
Then you'll see the server gets stuck.
The text was updated successfully, but these errors were encountered:
I guess the problem is in _Middleware, when setting scope, one connection overrides another.
_Middleware
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
With
use_connection_for_request=True
and two DBs:And in the fastapi router, query db1 and db2.
Then you'll see the server gets stuck.
The text was updated successfully, but these errors were encountered: