Operations:
db.coll.findAndModify({<update>: ..., arrayFilters: [...]); db.coll.update(<predicate>, <mods>, {arrayFilters: [...]});
CRUD API:
db.coll.bulkWrite([ {updateOne: {..., arrayFilters: [...]}}, {updateMany: {..., arrayFilters: [...]}}, ]); db.coll.findOneAndUpdate( <filter>, <update>, {arrayFilters: [...]} ); db.coll.updateOne(<filter>, <update>, {arrayFilters: [...]}); db.coll.updateMany(<filter>, <update>, {arrayFilters: [...]});
Bulk write API:
var bulk = db.coll.initializeUnorderedBulkOp();
bulk.find({...}).arrayFilters([...]).updateOne/update();
bulk.execute();