CakeFest 2024: The Official CakePHP Conference

MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName

(mongodb >=1.3.0)

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

Description

final public MongoDB\Driver\Monitoring\CommandStartedEvent::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