Monday, May 14, 2012

Mongo DB Delete a field and value

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?





No comments:

Post a Comment