connect Multiple Mongodb database with single interface #15045
Labels
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
new feature
This change adds new functionality, like a new method or class
Milestone
Prerequisites
🚀 Feature Proposal
I just need more space so I created two different database and now I want to Marge all the database into single database so I can query it as a single database instance.
I just created a npm package called mongoplusplus to do the same. but I want this feature in native mongoose if possible.
also it dose the job well for my requirement but I am not 100% confident about the performance and security of my package and moreover the documentation kind of sucks so if anyone can help me evaluate the project that will be greatness at it's peak.
GitHub link of my package
https://github.com/KTBsomen/mongoplusplus
Motivation
lack of money and low free tier of mongodb. nothing fits into 512 MB
Example
it will just work like
i have connection uris of mongodb database
i will pass them to my constructor it will handle all the connections.
now mejority of the function are the same like creating schemes, building models.
one key difference is I will have some extra query method to query all the database at once or just anyone of them.
like so on. you can check my current implementation on GitHub
https://github.com/KTBsomen/mongoplusplus
The text was updated successfully, but these errors were encountered: