MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName

(mongodb >=1.19.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseNameReturns the database on which the command was executed

Description

final public MongoDB\Driver\Monitoring\CommandFailedEvent::getDatabaseName(): string

Parameters

This function has no parameters.

Return Values

Returns the database on which the command was executed.

Errors/Exceptions

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top