UpdateRequest Class (original) (raw)
Represents a request to update one or more documents.
Inheritance Hierarchy
Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public sealed class UpdateRequest : WriteRequest
Public NotInheritable Class UpdateRequest Inherits WriteRequest
[]
type UpdateRequest =
class
inherit WriteRequest
end
The UpdateRequest type exposes the following members.
Constructors
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| | UpdateRequest | Initializes a new instance of the UpdateRequest class. |
Properties
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| | ArrayFilters | Gets or sets the array filters. |
|
| Collation | Gets or sets the collation. |
|
| CorrelationId | Gets or sets the correlation identifier. (Inherited from WriteRequest.) |
|
| Filter | Gets the filter. |
|
| 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. |
|
| RequestType | Gets the request type. (Inherited from WriteRequest.) |
|
| Update | Gets the update specification. |
|
| UpdateType | Gets the update type. |
Methods
Extension Methods
See Also