Reference/Operators/Array Update/$pullAll$pullAllThe `$pullAll` operator removes all instances of the specified values from an existing array.Syntax{ $pullAll: { field: [ <value1>, <value2>, ... ] } }ParametersfieldstringrequiredThe field to update.<value1>, <value2>stringrequiredThe values to remove from the array.
Reference/Operators/Array Update/$pullAll$pullAllThe `$pullAll` operator removes all instances of the specified values from an existing array.Syntax{ $pullAll: { field: [ <value1>, <value2>, ... ] } }ParametersfieldstringrequiredThe field to update.<value1>, <value2>stringrequiredThe values to remove from the array.