microsoft / spring-data-cosmosdb

Access data with Azure Cosmos DB
MIT License
94 stars 64 forks source link

How to perform Optimistic Locking while updates or atomic increments ? #372

Closed anuraggupta closed 4 years ago

anuraggupta commented 5 years ago

I need to perform atomic increments of a integer field. How do I achieve this ?

  1. Some operator
  2. optimistic locking (but how implement this ?)
kushagraThapar commented 4 years ago

The featured PR for this issue has been merged in. Will be released in 2.1.8