remove property mongodb
snippet in javascript

remove property mongodb

user217

db.myCollection.update({}, {$unset: {fieldToRemove:1}} , {multi: true});