Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CursorCommentOptions

Get the count of documents for this cursor.

see

http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#count

Hierarchy

  • CursorCommentOptions

Index

Properties

Optional hint

hint: undefined | string

An index name hint for the query.

Optional limit

limit: undefined | number

The maximum amounts to count before aborting.

Optional maxTimeMS

maxTimeMS: undefined | number

Number of miliseconds to wait before aborting the query.

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 | number

The number of documents to skip.

Generated using TypeDoc