[MODM-120] [Configuration] problem with changing the defaultDB Created: 15/Feb/11  Updated: 16/Feb/11  Resolved: 16/Feb/11

Status: Closed
Project: Doctrine MongoDB ODM
Component/s: None
Affects Version/s: 1.0.0BETA1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: jules b Assignee: Jonathan H. Wage
Resolution: Fixed Votes: 0
Labels: None


What i want to do is to change the database name of the document manager:

$config = new Configuration();
$dm = new DocumentManager($conn, 'my_db', $config);

$dm->getDatabase(); // 'my_db' insteadof 'another_db'

Is there another solution to do this ?

Comment by Jonathan H. Wage [ 16/Feb/11 ]

Hi, i reverted the change that caused these problems so it should be all good now.

Generated at Fri Jul 31 13:38:59 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.