Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0BETA1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
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);
$config->setDefaultDB('another_db');
$dm->getDatabase(); // 'my_db' insteadof 'another_db'
Is there another solution to do this ?
Activity
jules b
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
What i want to do is to change the database name of the configuration: $config = new Configuration($conn, 'my_db'); $config->setDefaultDB('another_db'); $config->getDatabase(); // 'my_db' insteadof 'another_db' Is there another solution to do this ? |
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); $config->setDefaultDB('another_db'); $dm->getDatabase(); // 'my_db' insteadof 'another_db' Is there another solution to do this ? |
Jonathan H. Wage
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |