MongoDB\Driver\Server::getServerDescription
PHP function
Edit on GitHub ✎
(mongodb >=1.13.0)
Returns a ServerDescription for this server
Description
MongoDB\Driver\Server::getServerDescription(): MongoDB\Driver\ServerDescription
Returns a MongoDB\Driver\ServerDescription for this server. This is an immutable value object that will describe the server at the time this method is called.
Parameters Parameters
Return Values
Returns a MongoDB\Driver\ServerDescription for this server.