PHP - Manual: MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName
2024-11-13
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName — Returns the command name
Returns the command name (e.g. "find"
,
"aggregate"
).
此函数没有参数。
Returns the command name.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandsucceededevent.getcommandname.php