A wrapped cursor with inline decompression.
cursor
decompression
Native MongoDB cursor to wrap.
Close the cursor session and abandon selected documents on the database.
Retrieve the number of selected documents.
Apply skip and limit options before counting.
skip
limit
Iterate over every selected document.
If all documents have been consumed, rec is undefined.
rec
undefined
Requests a metadocument of processing info for this query. Index names containing underscores are assumed to be of the format generated automatically by MongoDB and an attempt will be made to decompress key names.
Retrieve the next single document.
Rewind this cursor to the first selected document.
Assemble every selected document into an Array. Note that using toArray carelessly is an excellent way to run a process out of memory.
toArray