The list of documents
Obtains the total of documents of the cursor
The total of documents in the cursor
Alias for {@link Cursor#fetchAll}
Fetch all documents in the cursor
All the documents contained in the cursor
Retrieves the next document in the cursor
The next document in the cursor
Iterates over the cursor, calling a callback function
Checks if the cursor has one document to be fetched
True if we can fetch one more document
Set the max number of document to fetch
The max number of documents
This instance so it can be chained with other methods
Iterates over the cursor, returning a new array with the documents affected by the callback function
The documents after being affected with the callback function
Alias for {@link Cursor#fetchOne}
Moves a cursor to the begining
Set the sorting of the cursor
The sorting specification
This instance so it can be chained with other methods
Set the number of document to skip when fetching the cursor
The number of documents to skip
This instance so it can be chained with other methods
Applies a sorting on the cursor
The sorting specification
This instance so it can be chained with other methods
Projects the fields of one or several documents, changing the output
The document/s that will be projected
Fields projection specification. Can be an space/comma separated list, an array, or an object
The document/s after the projection
Generated using TypeDoc
Cursor
Cursor
0.0.1
Eduardo Astolfi eduardo.astolfi91@gmail.com
2016 Eduardo Astolfi eduardo.astolfi91@gmail.com
MIT Licensed
Cursor class that maps a MongoDB-like cursor