Posts by Livio • 1 point
1 post
-
0
votes0
answers46
viewsQ: What is the behavior when Mongodb reaches the defined maximum value of $inc?
What is the behavior when Mongo reaches its maximum value for findAndModify with parameters below, how can I restart to 0 when this happens? db.collection('count').findAndModify( { "_id": "xy" },…