PHP - Manual: MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand
2024-12-22
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand — Returns the command document
The reply document will be converted from BSON to PHP using the default deserialization rules (e.g. BSON documents will be converted to stdClass).
此函数没有参数。
Returns the command document as a stdClass object.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandstartedevent.getcommand.php