php8.5
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.

Errors/Exceptions

Source: reference/mongodb/mongodb/driver/monitoring/serveropeningevent/gettopologyid.xml · from the official PHP manual (php/doc-en)