Returns the command name

# MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName — Returns the command name

### 説明

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

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

### パラメータ

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

### 戻り値

Returns the command name.

### エラー / 例外

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

### 参考

- Application Performance Monitoring (APM)

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open