[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 Sun Oct 04 07:28:06 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.