Operators
$unset
The $unset operator is used for querying or updating documents.
$unset
The $unset operator is used for querying or updating documents.
Syntax
{ field: { $unset: value } }
Example
{ age: { $unset: 20 } }The $unset operator is used for querying or updating documents.
The $unset operator is used for querying or updating documents.
{ field: { $unset: value } }
{ age: { $unset: 20 } }