What is the purpose of the $unset operator in an update operation in MongoDB? - Study24x7
Social learning Network
5 followers study24x7 04 Dec 2024 01:16 PM study24x7 study24x7

What is the purpose of the $unset operator in an update operation in MongoDB?

A

To delete a field from a document

B

To set a field to null

C

To hide a field in the output

D

To create a new field

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles