Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MongoCountPreferences

Hierarchy

  • MongoCountPreferences

Index

Properties

Optional hint

hint: string

An index name hint for the query.

Optional limit

limit: number

The limit of documents to count.

Optional readPreference

readPreference: ReadPreference | string

The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).

Optional skip

skip: boolean

The number of documents to skip for the count.

Generated using TypeDoc