Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
mongoc_bulk_operation_update (bulk, BCON_NEW ("a", BCON_INT32 (1)), BCON_NEW ("a", BCON_INT32 (2)), false);
|
|
|
mongoc_bulk_operation_execute (bulk, &reply, &error);
|
produces the error
WARNING: mongoc: mongoc_bulk_operation_update(): update only works with $ operators.
|
Error: Cannot do an empty bulk write
|
However, mongoc_collection_update allows updating without $set.
Attachments
Issue Links
- is depended on by
-
CXX-797 Updating entire document without operators such as set fails at execution with Cannot do an empty bulk write
-
- Closed
-