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