MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandNameReturns the command name

說(shuō)明

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

Returns the command name (e.g. "find", "aggregate").

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns the command name.

錯(cuò)誤/異常