Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ParallelCollectionScanOptions

Hierarchy

  • ParallelCollectionScanOptions

Index

Properties

Optional batchSize

batchSize: undefined | number

Set the batchSize for the getMoreCommand when iterating over the query results.

Optional numCursors

numCursors: undefined | number

The maximum number of parallel command cursors to return (the number of returned cursors will be in the range 1:numCursors).

Optional raw

raw: undefined | true | false

Return all BSON documents as Raw Buffer documents.

Optional readPreference

readPreference: ReadPreference | string

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

Generated using TypeDoc