Name | Description |
---|---|
$ | Acts as a placeholder to update the first element that matches the query condition in an update. |
$addToSet | Adds elements to an existing array only if they do not already exist in the set. |
$pop | Removes the first or last item of an array. |
$pullAll | Removes multiple values from an array. |
$pull | Removes items from an array that match a query statement. |
$pushAll | Deprecated. Adds several items to an array. |
$push | Adds an item to an array. |