Home/
Manual/
monitoring / commandfailedevent/ MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName
MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName
PHP function
Edit on GitHub ✎
(mongodb >=1.19.0)
Returns the database on which the command was executed
Description
MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName(): string
Parameters Parameters
Return Values
Returns the database on which the command was executed.