Skip to content

Instantly share code, notes, and snippets.

@sidravic

sidravic/runCommand.js Secret

Created Jan 16, 2014
Embed
What would you like to do?
db.someModel.update({'_id':ObjectId('52d688e92559df237900000b')}, {price_cents:14375}, {multi: false})
db.runCommand({getLastError:1})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.