Variable TopologyTypeConst

TopologyType: Readonly<{
    LoadBalanced: "LoadBalanced";
    ReplicaSetNoPrimary: "ReplicaSetNoPrimary";
    ReplicaSetWithPrimary: "ReplicaSetWithPrimary";
    Sharded: "Sharded";
    Single: "Single";
    Unknown: "Unknown";
}>

An enumeration of topology types we know about

Type declaration

  • Readonly LoadBalanced: "LoadBalanced"
  • Readonly ReplicaSetNoPrimary: "ReplicaSetNoPrimary"
  • Readonly ReplicaSetWithPrimary: "ReplicaSetWithPrimary"
  • Readonly Sharded: "Sharded"
  • Readonly Single: "Single"
  • Readonly Unknown: "Unknown"

Generated using TypeDoc