Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ParallelCollectionScanOptions

Hierarchy

  • ParallelCollectionScanOptions

Index

Properties

Optional batchSize

batchSize: number

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

Optional numCursors

numCursors: 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: boolean

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