-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Feature request: Multiple connections #4
Comments
You should be able to do this with the following configuration array: 'mongodb' => array(
'host' => 'db1.example.net:27017,db2.example.net:27017',
'database' => 'database',
'options' => array(
'replicaSet' => 'myReplSetName'
)
), |
Closed
ghost
mentioned this issue
Sep 6, 2016
This was referenced Sep 4, 2017
This was referenced Nov 26, 2018
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
multiple mongdb connections from within one "mongodb" database connection definiton would be super-cool. The mongodb client library allows this:
It would be really nice to have it configurable within the database.php:
What do you think?
The text was updated successfully, but these errors were encountered: