Preparing search index...
The search index is not available
mingo
mingo
operators/update/addToSet
$addToSet
Function $addToSet
Adds a value to an array unless the value is already present.
$add
To
Set
(
obj
,
expr
,
arrayFilters
?
,
options
?
)
:
string
[]
Parameters
obj
:
AnyObject
expr
:
AnyObject
arrayFilters
:
AnyObject
[]
= []
options
:
UpdateOptions
= {}
Returns
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mingo
Loading...
Adds a value to an array unless the value is already present.