Navigation
This version of the documentation is archived and no longer supported.
$each
-
$each
The $each operator is available within the
$addToSet, which allows you to add multiple values
to the array if they do not exist in the field array in a
single operation. For example: