-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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
This was referenced Sep 4, 2017
This was referenced Nov 26, 2018
3 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# 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: