Is there any equivalent to @DynamoDBVersionAttribute and conditional writes in MongoDB?
I am relatively new to MongoDB and I am concerned that concurrent request could mutate a single document effectively causing data loss (the first write would be clobbered by the second write). DynamoDB handles this via Optimistic locking and conditional…