PHP - Manual: MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName
2024-12-20
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::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-commandfailedevent.getcommandname.php