Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReadPreferenceFromOptions

Hierarchy

Index

Properties

Optional hedge

hedge?: HedgeOptions

Server mode in which the same query is dispatched in parallel to multiple replica set members.

Optional maxStalenessSeconds

maxStalenessSeconds?: number

Max secondary read staleness in seconds, Minimum value is 90 seconds.

Optional readPreference

readPreference?: ReadPreferenceLike | { maxStalenessSeconds?: number; mode?: ReadPreferenceMode; preference?: ReadPreferenceMode; tags?: TagSet[] }

Optional readPreferenceTags

readPreferenceTags?: TagSet[]

Optional session

session?: ClientSession

Generated using TypeDoc