Accessing multiple databases #3217
chimeracle
announced in
Q&A
Replies: 2 comments 4 replies
-
There's to a really a builtin way to do this as it would be hard to map the models to the corresponding database. If you need this, the way you're doing it seems like a good option. We're open to suggestions on how we can make the API nicer for these use cases. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Related project: https://github.com/febus982/sqlalchemy-bind-manager |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would be the best way to go about accessing multiple databases? Currently, I'm using the db_url in the rxconfig file for the main database and passing the whole connection string for a second database in the rx.session(). Is there a cleaner, more secure way to do it with a second db_url or something in the rxconfig file?
Beta Was this translation helpful? Give feedback.
All reactions