MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName

Returns the database on which the command was executed

説明

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

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the database on which the command was executed.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.