-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
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.
- 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