[This is preliminary documentation and is subject to change.]
The CRUDResult type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | CRUDResult | Initializes a new instance of the CRUDResult class |
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Indicates whether this instance and a specified object are equal. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Returns the hash code for this instance. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns the fully qualified type name of this instance. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | TotalDocumentsAffected |
This field contains the aggregated number of documents successfully matched (n) by the entire write command.
This includes the number of documents inserted, upserted, updated, and deleted. We do not report on the
individual number of documents affected by each batch item. If the application would wish so, then the
application should issue one-item batches.
|
![]() | TotalDocumentsUpdatedAffected |
Optional field, with a positive numeric type or zero.
Zero is the default value. This field is only and always present for batch updates.
nModified is the physical number of documents affected by an update, while TotalDocumentsMatched is the logical number of documents matched by
the update's query.
|
![]() | Upserted |
NULL or for every batch document that was upserted
|
![]() | WriteErrors |
NULL or For every batch write that had an error, there is one entry in the array describing the error
|
See Also