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