Data Integrity and Concurrency Control?


#1

Hi, is there a way to prevent multiple users to PATCH the same record at the same time by not being aware of each other?
Thank you!


#2

From an API perspective there is nothing to prevent this. The last PATCH wins. Obviously there are things you can do in your app to help minimize this such as only updating fields that change.


#3

I understand.

Maybe dreamfactory could implement something like this in the future:
http://python-eve.org/features.html#data-integrity-and-concurrency-control

Thank you very much for the reply.