Definition
Return Values
The database name.
Examples
$info = new DatabaseInfo(['name' => 'foo']);
echo $info->getName();The output would then resemble:
fooSee Also
listDatabases command reference in the MongoDB manual
The database name.
$info = new DatabaseInfo(['name' => 'foo']);
echo $info->getName();The output would then resemble:
foolistDatabases command reference in the MongoDB manual
On this page
On this page