In mongo shell how would I delete all occurrences of "id" : "1" the value of the field is always different. Would I use the $unset operator? Would that delete the value and the field?
Mongo DB Delete a field and value
11.2k Views Asked by Jacinto At
1
You're saying remove all occurrences of the field, right? If so, then it should be like this: