MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName

(mongodb >=1.3.0)

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

說明

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the database on which the command was executed.

錯(cuò)誤/異常