How To: Atomic update with a where clause
I'm trying to implement this workflow:
Update a timestamp atomically on an existing record if the new timestamp is greater than the old one, and the old one hasn't changed while im updating it(optimistic update).
I know atomics just dropped on Ash core so wondering if this could be achieved with it.
This is the ash action in question:
Update a timestamp atomically on an existing record if the new timestamp is greater than the old one, and the old one hasn't changed while im updating it(optimistic update).
I know atomics just dropped on Ash core so wondering if this could be achieved with it.
This is the ash action in question:
