PHP - Manual: MongoDB\Driver\Monitoring\CommandFailedEvent::getServer
2024-11-14
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::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-commandfailedevent.getserver.php