Kameshwar Singh's Blog World
Thursday, March 17, 2016
What is the use of “FOR UPDATE” in SOQL
FOR UPDATE is used to lock the records.
Ex: Campaign cam = [SELECT id FROM Campaign LIMIT 1 FOR UPDATE];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment