Closed
Description
Hi,
multiple mongdb connections from within one "mongodb" database connection definiton would be super-cool. The mongodb client library allows this:
mongodb://db1.example.net,db2.example.net:2500/?replicaSet=test
It would be really nice to have it configurable within the database.php:
'mongodb' => array(
'db1.example.net' => array(
'host' => 'db1.example.net',
'port' => 27017,
'database' => 'example',
),
'db2.example.net' => array(
'host' => 'db2.example.net',
'port' => 27017,
'database' => 'example',
)
),
What do you think?
Metadata
Metadata
Assignees
Labels
No labels