Created
August 9, 2012 19:20
-
-
Save sasha-id/3307303 to your computer and use it in GitHub Desktop.
How to update multiple documents with a single command
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.test.update({foo: "bar"}, {$set: {test: "success!"}}, false, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment