unset query in mongoDB code example Example: remove property mongodb db.myCollection.update({}, {$unset: {fieldToRemove:1}} , {multi: true});