Preparing search index...
The search index is not available
mingo
mingo
operators/update/rename
$rename
Function $rename
Replaces the value of a field with the specified value.
$rename
(
obj
,
expr
,
arrayFilters
?
,
options
?
)
:
string
[]
Parameters
obj
:
AnyObject
expr
:
Record
<
string
,
string
>
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.