WriteConcernResult Properties |
The WriteConcernResult type exposes the following members.
| Name | Description | |
|---|---|---|
| DocumentsAffected |
Gets the number of documents affected.
| |
| HasLastErrorMessage |
Gets whether the result has a LastErrorMessage.
| |
| LastErrorMessage |
Gets the last error message (null if none).
| |
| Response |
Gets the wrapped result.
| |
| UpdatedExisting |
Gets whether the last command updated an existing document.
| |
| Upserted |
Gets the _id of an upsert that resulted in an insert.
|