Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"Main":"Main","TotalBobuxGiven":1,"TotalRobuxGiven":2}]
Query
db.collection.update({Main:"Main"},{$inc:{TotalBobuxGiven:66,"TotalRobuxGiven":44}})
Result