MongoCursor Properties |
The MongoCursor type exposes the following members.
| Name | Description | |
|---|---|---|
| BatchSize |
Gets or sets the batch size (the number of documents returned per batch).
| |
| Collation |
Gets the collation.
| |
| Collection |
Gets the collection that is being queried.
| |
| Database |
Gets the database that constains the collection that is being queried.
| |
| Fields |
Gets or sets the fields that will be returned from the server.
| |
| Flags |
Gets or sets the query flags.
| |
| IsFrozen |
Gets whether the cursor has been frozen to prevent further changes.
| |
| Limit |
Gets or sets the limit on the number of documents to be returned.
| |
| MaxAwaitTime |
Gets or sets the maximum await time for TailableAwait cursors.
| |
| Options |
Gets or sets the cursor options. See also the individual Set{Option} methods, which are easier to use.
| |
| Query |
Gets the query that will be sent to the server.
| |
| ReadConcern |
Gets the read concern.
| |
| ReadPreference |
Gets or sets the read preference.
| |
| Serializer |
Gets the serializer.
| |
| Server |
Gets the server that the query will be sent to.
| |
| Skip |
Gets or sets the number of documents the server should skip before returning the rest of the documents.
|