$pullAll¶
-
$pullAll
¶ The
$pullAll
operator removes multiple values from an existing array.$pullAll
provides the inverse operation of the$pushAll
operator. Consider the following example:Here,
$pullAll
removes[ value1, value2, value3 ]
from the array infield1
, in the document that matches the query statement{ field: value }
incollection
.