Variable TopologyTypeConst
TopologyType: Readonly<{
LoadBalanced: "LoadBalanced";
ReplicaSetNoPrimary: "ReplicaSetNoPrimary";
ReplicaSetWithPrimary: "ReplicaSetWithPrimary";
Sharded: "Sharded";
Single: "Single";
Unknown: "Unknown";
}>
Type declaration
-
Readonly
LoadBalanced: "LoadBalanced"
-
Readonly
ReplicaSetNoPrimary: "ReplicaSetNoPrimary"
-
Readonly
ReplicaSetWithPrimary: "ReplicaSetWithPrimary"
-
Readonly
Sharded: "Sharded"
-
Readonly
Single: "Single"
-
Readonly
Unknown: "Unknown"
An enumeration of topology types we know about