$unset
Removes specified fields from documents, effectively deleting the field and its value entirely.
Syntax
{ $unset: { <field1>: "", <field2>: "", ... } }
Parameters
field
stringrequiredField name to remove from document
Removes specified fields from documents, effectively deleting the field and its value entirely.
{ $unset: { <field1>: "", <field2>: "", ... } }
field
stringrequiredField name to remove from document