Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Start method of batch class used in SFDC Stop UNABLE_TO_LOCK_ROW blog
public Database.QueryLocator start(Database.BatchableContext bc) {
return Database.getQueryLocator('SELECT Id, Count__c FROM Product_Part__c');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment