Skip to content
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

Specify sub-ordinate database name to connect to through Bookshelf model #2123

Open
Akhil-gif777 opened this issue Dec 20, 2022 · 0 comments

Comments

@Akhil-gif777
Copy link

Issue Description

I could not specify a sub-db under the main-db to make query calls as bookshelf does not provide an option to mention a sub-db in its model. I have a db structure like below :

-mainDB
- sub-db-1
- table-1
- table-2
- sub-db-2
- table-1
- table-2
- sub-db-3
- table-1
- table-2

Expected Behavior

I would like to mention a sub-db in bookshelf model after connecting to the main-db then make query calls to tables inside the sub-db.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant