Created
August 25, 2011 21:06
-
-
Save amokan/1171952 to your computer and use it in GitHub Desktop.
mongo db command for dropping a "field"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.<collection>.update({}, {$unset: {<attrib>:1}},false, true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment