Class FindAndModifyArgs
Represents options for the FindAndModify command.
public class FindAndModifyArgs
- Inheritance
-
FindAndModifyArgs
- Inherited Members
- Extension Methods
Properties
BypassDocumentValidation
Gets or sets a value indicating whether to bypass document validation.
public bool? BypassDocumentValidation { get; set; }
Property Value
- bool?
A value indicating whether to bypass document validation.
Collation
Gets or sets the collation.
public Collation Collation { get; set; }
Property Value
- Collation
The collation.
Fields
Gets or sets the fields specification.
public IMongoFields Fields { get; set; }
Property Value
MaxTime
Gets or sets the max time.
public TimeSpan? MaxTime { get; set; }
Property Value
Query
Gets or sets the query.
public IMongoQuery Query { get; set; }
Property Value
SortBy
Gets or sets the sort specification.
public IMongoSortBy SortBy { get; set; }
Property Value
Update
Gets or sets the update specification.
public IMongoUpdate Update { get; set; }
Property Value
Upsert
Gets or sets a value indicating whether FindAndModify should upsert.
public bool Upsert { get; set; }
Property Value
VersionReturned
Gets or sets the version of the document returned.
public FindAndModifyDocumentVersion? VersionReturned { get; set; }