Class UpdateRequest
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents a request to update one or more documents.
public sealed class UpdateRequest : WriteRequest
- Inheritance
-
UpdateRequest
- Inherited Members
Constructors
- UpdateRequest(UpdateType, BsonDocument, BsonValue)
Initializes a new instance of the UpdateRequest class.
Properties
- ArrayFilters
Gets or sets the array filters.
- Collation
Gets or sets the collation.
- Filter
Gets the filter.
- Hint
Gets or sets the hint.
- IsMulti
Gets or sets a value indicating whether this update should affect all matching documents.
- IsUpsert
Gets or sets a value indicating whether a document should be inserted if no matching document is found.
- Update
Gets the update specification.
- UpdateType
Gets the update type.
Methods
- IsRetryable(ConnectionDescription)
Determines whether the request is retryable on a given connection.