Struct CursorBatch<TDocument>
- Namespace
- MongoDB.Driver.Core.WireProtocol
- Assembly
- MongoDB.Driver.Core.dll
Represents one result batch (returned from either a Query or a GetMore message)
[Obsolete("This struct will be made internal in a later release.")]
public struct CursorBatch<TDocument>
Type Parameters
TDocument
The type of the document.
- Inherited Members
Constructors
- CursorBatch(long, BsonDocument, IReadOnlyList<TDocument>)
Initializes a new instance of the CursorBatch<TDocument> struct.
- CursorBatch(long, IReadOnlyList<TDocument>)
Initializes a new instance of the CursorBatch<TDocument> struct.
Properties
- CursorId
Gets the cursor identifier.
- Documents
Gets the documents.
- PostBatchResumeToken
Gets the post batch resume token.