MongoDB databases are created on the fly when some data is written in
the database, so this method does not need to do anything.
return array_fill_keys($connection->_db->getCollectionNames(true), 'table');
}
+ function create_database($db, $collation) {
+ return true;
+ }
+
function drop_databases($databases) {
global $connection;
foreach ($databases as $db) {
return $collections;
}
+ function create_database($db, $collation) {
+ return true;
+ }
+
function drop_databases($databases) {
return false;
}