Created
May 4, 2012 13:36
-
-
Save mitsuhiko/2594843 to your computer and use it in GitHub Desktop.
In-Band Signalling WTF
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
# This does nothing | |
collection.find_and_modify({'_id': 'deadbeef'}, {$set: {}}) | |
# This clears a document | |
collection.find_and_modify({'_id': 'deadbeef'}, {}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment