Skip to content

Connect to multiple mongo databases dynamically #64

Discussion options

You must be logged in to vote

To have multiple connections you have to use the datastore.GetNewMongoDB function, it will give you the object with methods to the new database.
Your existing connection will not be replaced by this.

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by vipul-rawat
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@aryanmehrotra
Comment options

@ace3
Comment options

@vipul-rawat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #58 on November 20, 2023 07:36.