Mongodb – How to perform atomic document updates using PanacheMongoRepository?
It is known that we can update a MongoDB document atomically using the findAndModify method. But how can we do it with a PanacheMongoRepository? The PanacheMongoRepository interface has methods such as find and update, but nothing like findAndModify. Is repository.update(updateDocument).where(queryDocument)…