You need to sign in to do that
Don't have an account?
john yungk
Optimistic Locking with Apex DML
Is there a known pattern for implementing optimistic locking from within an Apex class using DML?
Using Martin Fowler's Optimistic Offline Lock pattern as a starting point, it would seem to me that the update command would have be able to support a where clause, but I don't see that as an option with DML.
I might be missing something important as I am admitedly a newbie.
Thanks in advance.
John
Using Martin Fowler's Optimistic Offline Lock pattern as a starting point, it would seem to me that the update command would have be able to support a where clause, but I don't see that as an option with DML.
I might be missing something important as I am admitedly a newbie.
Thanks in advance.
John
[1] https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_locking_statements.htm