AggregationCursor | mongodb (original) (raw)

[asyncIterator]

Optional[captureRejectionSymbol]

Parameters

Returns void

addCursorFlag

Returns this

addListener

Returns this

Returns this

addStage

Returns AggregationCursor<T>

batchSize

bufferedCount

clone

close

Returns Promise<void>

emit

Returns boolean

eventNames

explain

Returns Promise<Document>

Returns Promise<Document>

forEach

Returns Promise<void>

geoNear

getMaxListeners

group

Returns AggregationCursor<T>

hasNext

limit

listenerCount

Parameters

Returns number

listeners

Parameters

Returns AbstractCursorEvents[EventKey][]

lookup

map

Parameters

Returns AggregationCursor<T>

match

maxTimeMS

next

off

Returns this

Returns this

on

Returns this

Returns this

once

Returns this

Returns this

out

Returns this

prependListener

Returns this

Returns this

prependOnceListener

Returns this

Returns this

project

Returns AggregationCursor<T>

rawListeners

Parameters

Returns AbstractCursorEvents[EventKey][]

readBufferedDocuments

Returns NonNullable<TSchema>[]

redact

removeAllListeners

Parameters

Returns this

removeListener

Returns this

Returns this

ProtectedresolveExplainTimeoutOptions

Returns {

explain?: ExplainVerbosityLike | ExplainCommandOptions;
timeout?: {
timeoutMS?: number;
};
}

timeoutMS?: number;
}
* ##### OptionaltimeoutMS?: number

rewind

setMaxListeners

skip

sort

stream

toArray

tryNext

unwind

withReadConcern

withReadPreference

StaticaddAbortListener

Parameters

Returns Disposable

Disposable that removes the abort listener.

StaticgetEventListeners

Returns Function[]

StaticgetMaxListeners

Returns number

StaticlistenerCount

Returns number

Staticon

Returns AsyncIterator<any[], any, any>

An AsyncIterator that iterates eventName events emitted by the emitter

Returns AsyncIterator<any[], any, any>

Staticonce

Returns Promise<any[]>

Returns Promise<any[]>

StaticsetMaxListeners

Returns void