Preparing search index...
The search index is not available
mingo
mingo
operators/update/set
$set
Function $set
Replaces the value of a field with the specified value.
$set
(
obj
,
expr
,
arrayFilters
?
,
options
?
)
:
string
[]
Parameters
obj
:
AnyObject
expr
:
Record
<
string
,
unknown
>
arrayFilters
:
AnyObject
[]
= []
options
:
UpdateOptions
= {}
Returns
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mingo
Loading...
Replaces the value of a field with the specified value.