-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
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
Support multiple DB's #135
Comments
No plans for supporting this at the moment. |
Ok, I implemented it myself: https://github.com/bmsuisse/sqlite-web/tree/poetry
Just in case you want to have a look at it, feel free to use whatever you want |
Does that even work, though? How does the table list look when you're running with multiple databases? Is the database filename/name somehow prefixed into the URL? |
Yes it does! However I need two Flask instances with different prefixes which run under an Azure Function. It works, but is a bit exotic. Using prefixes directly in the routes would be better |
Hi there
I would like to use sqlite_web to display the gui for multiple db's, which almost works since I can use multiple calls to initialize_app. However, the globals in sqlite_web.py are a deal breaker. Would you accept a PR that simply turns the globals to a dict with the file_name as key or something the like?
The text was updated successfully, but these errors were encountered: