Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

likedislike mangodb

db.foobar.update(
    { name: "Foobar" }, 
    {
        $set: { 'foo.bar': 'bar' }, 
        $inc: { 'foo.count': 1 } 
    }, true)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #likedislike #mangodb
ADD COMMENT
Topic
Name
1+2 =