The MongoDB\Driver\Monitoring\TopologyOpeningEvent class
The MongoDB\Driver\Monitoring\TopologyOpeningEvent class encapsulates information about an opened topology.
Intro
The MongoDB\Driver\Monitoring\TopologyOpeningEvent class encapsulates information about an opened topology.
Due to the driver's connection handling and persistence behavior, this event may not be observed if a MongoDB\Driver\Manager uses a previously persisted libmongoc client.
Class synopsis
Properties
topologyIdThe topology ID.
Changelog
| Version | Description |
|---|---|
| PECL mongodb 2.3.0 | Added public readonly properties. |
Topologyopeningevent