Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mongo/src/types.ts>ReadPreference

MongoDB driver for Deno
Extremely Popular
Go to Latest
enum ReadPreference
import { ReadPreference } from "https://deno.land/x/mongo@v0.31.1/src/types.ts";

Members

Nearest = "nearest"
Primary = "primary"
PrimaryPreferred = "primaryPreferred"
Secondary = "secondary"
SecondaryPreferred = "secondaryPreferred"