File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -161,3 +161,21 @@ cursor.closed // true
161
161
162
162
Everywhere the driver sends a ` hello ` command (initial handshake and monitoring), it will now pass the command value as ` 1 ` instead of the
163
163
previous ` true ` for spec compliance.
164
+
165
+ ### ` BulkWriteResult ` no longer contains a publicly enumerable ` result ` property.
166
+
167
+ To access the raw result, please use ` bulkWriteResult.getRawResponse() ` .
168
+
169
+ ### ` BulkWriteResult ` now contains individual ressult properties.
170
+
171
+ These can be accessed via:
172
+
173
+ ``` ts
174
+ bulkWriteResult .insertedCount ;
175
+ bulkWriteResult .matchedCount ;
176
+ bulkWriteResult .modifiedCount ;
177
+ bulkWriteResult .deletedCount ;
178
+ bulkWriteResult .upsertedCount ;
179
+ bulkWriteResult .upsertedIds ;
180
+ bulkWriteResult .insertedIds ;
181
+ ```
You can’t perform that action at this time.
0 commit comments