Last active
August 29, 2015 13:58
-
-
Save dmartz86/10409771 to your computer and use it in GitHub Desktop.
Revisions
-
dmartz86 renamed this gist
Apr 10, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dmartz86 created this gist
Apr 10, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ db.posts.update({ _id : ObjectId("5346e2072ac437a08f93b74c") }, { $inc : { likes : 1 }, $push : { users : 'singleUser' } });