Why does start method of a batch apex class have two possible return types - Database.QueryLocator vs. Iterable<sObject>

Why does start method of a batch apex class have two possible return types - Database.QueryLocator vs. Iterable<sObject>
Photo by Letizia Bordoni / Unsplash

Read the full story

Sign up now to read the full story and get access to all posts for subscribers only.

Subscribe
Already have an account? Sign in

THR(EA)DZ

DZining the building blocks for Enterprise Applications

THR(EA)DZ

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to THR(EA)DZ.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.