Created
October 29, 2015 20:11
-
-
Save danared/ffe97b7a10642affb9e0 to your computer and use it in GitHub Desktop.
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.orders.update( | |
{price:"free"}, | |
{$set: {price: 0}}, | |
{multi: true}); | |
db.orders.update( | |
{price:"if you have to ask...."}, | |
{$set: {price: 1000000}}, | |
{multi: true}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment