PHP - Manual: MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer
2024-11-13
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer — Returns the Server on which the command was executed
Returns the MongoDB\Driver\Server on which the command was executed.
此函数没有参数。
Returns the MongoDB\Driver\Server on which the command was executed.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandsucceededevent.getserver.php