Php/docs/mongodb-driver-monitoring-commandsucceededevent.getcommandname

提供:Dev Guides
< Php
移動先:案内検索

MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName

(mongodb >=1.3.0)

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


説明

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

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


パラメータ

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


返り値

Returns the command name.


エラー / 例外