TopologyType
public enum TopologyType : String, Equatable
The possible types for a topology.
-
A single mongod server.
Declaration
Swift
case single = "Single" -
A replica set with no primary.
Declaration
Swift
case replicaSetNoPrimary = "ReplicaSetNoPrimary" -
A replica set with a primary.
Declaration
Swift
case replicaSetWithPrimary = "ReplicaSetWithPrimary" -
Sharded topology.
Declaration
Swift
case sharded = "Sharded" -
A topology whose type is not yet known.
Declaration
Swift
case unknown = "Unknown"
View on GitHub
Install in Dash
TopologyType Enumeration Reference