(mongodb >=1.0.0)
The MongoDB\Driver\WriteResult class encapsulates information about an executed MongoDB\Driver\BulkWrite and may be returned by MongoDB\Driver\Manager::executeBulkWrite().
null if
the write concern did not request acknowledgement.
null if the write concern did not request acknowledgement.
null if the write concern did not request acknowledgement or if the
server did not report this information.
null if the write concern did
not request acknowledgement.
null if the write concern did
not request acknowledgement.
_id values for upserted documents.
Array keys will correspond to the index of the write operation from
MongoDB\Driver\BulkWrite.
null if no write concern error occurred.
null if not available.
| Version | Description |
|---|---|
| PECL mongodb 2.3.0 | Added public readonly properties. |