(mongodb >=1.19.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName — Returns the database on which the command was executed
This function has no parameters.
Returns the database on which the command was executed.