php8.5
Home/ Manual/ monitoring / topologyopeningevent/ MongoDB\Driver\Monitoring\TopologyOpeningEvent::getTopologyId

MongoDB\Driver\Monitoring\TopologyOpeningEvent::getTopologyId

PHP function Edit on GitHub ✎

(mongodb >=1.13.0)

Returns the topology ID

Description

MongoDB\Driver\Monitoring\TopologyOpeningEvent::getTopologyId(): MongoDB\BSON\ObjectId

Parameters Parameters

Return Values

Returns the topology ID.

Errors/Exceptions

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