I saw an update inc before, but I didn’t see how to implement it.
Ask the great god for help and give some guidance.
http://docs.mongodb.org/manual/reference/operator/update/inc/
$inc is an atomic operation within a single document.
I saw an update inc before, but I didn’t see how to implement it.
Ask the great god for help and give some guidance.
http://docs.mongodb.org/manual/reference/operator/update/inc/
$inc is an atomic operation within a single document.