Home/
Manual/
monitoring / serveropeningevent/ MongoDB\Driver\Monitoring\ServerOpeningEvent::getTopologyId
MongoDB\Driver\Monitoring\ServerOpeningEvent::getTopologyId
PHP function
Edit on GitHub ✎
(mongodb >=1.13.0)
Returns the topology ID associated with this server
Description
MongoDB\Driver\Monitoring\ServerOpeningEvent::getTopologyId(): MongoDB\BSON\ObjectId
Parameters Parameters
Return Values
Returns the topology ID.