Class FindOneAndUpdateOptions<TDocument, TProjection>
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Options for a findAndModify command to update an object.
public class FindOneAndUpdateOptions<TDocument, TProjection>
Type Parameters
TDocument
The type of the document.
TProjection
The type of the projection (same as TDocument if there is no projection).
Inheritance
FindOneAndUpdateOptions<TDocument, TProjection>
Derived
Inherited Members
Constructors
Initializes a new instance of the FindOneAndUpdateOptions<TDocument, TProjection> class.
Properties
Gets or sets the array filters.
Gets or sets a value indicating whether to bypass document validation.
Gets or sets the collation.
Gets or sets the comment.
Gets or sets the hint.
Gets or sets a value indicating whether to insert the document if it doesn't already exist.
Gets or sets the let document.
Gets or sets the maximum time.
Gets or sets the projection.
Gets or sets which version of the document to return.
Gets or sets the sort.