Created
October 29, 2014 00:54
-
-
Save ghalusa/0cb85dbfdba8e71bf61f to your computer and use it in GitHub Desktop.
Update Multiple MongoDB Documents in a Collection
This file contains hidden or 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.domains.update( { username: "[email protected]" }, { $set: { something: 0 } }, { multi: true } ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment