Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MongoCountPreferences

Hierarchy

  • MongoCountPreferences

Index

Properties

Optional hint

hint: undefined | string

An index name hint for the query.

Optional limit

limit: undefined | 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: undefined | true | false

The number of documents to skip for the count.

Generated using TypeDoc