Created
February 23, 2018 14:07
-
-
Save htkcodes/b177b317a1efdfccc07750f86227f413 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
| //Remove field from document. | |
| db.users.update({},{$unset:{cart:1}},{multi:true}) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
console.log(count)
console.log(upsert);