Cursor is an helper class for querying multiple documents.
Direct Base Classes: Document
All Base Classes: Document
Creates a Cursor for the given database and collection ("database.collection"), using the specified flags.
Creates a Cursor for the given database and collection, using the specified flags.
Destroys the Cursor.
Connection & connection
Kills the cursor and reset it so that it can be reused.
Tries to get the next documents. As long as ResponseMessage has a cursor ID next can be called to retrieve the next bunch of documents.
The cursor must be killed (see kill()) when not all documents are needed.
QueryRequest & query();
Returns the associated query.