Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<Account> accts = new List<Account>();
- for(Integer i = 0; i < 9000; i++)
- {
- accts.add(new Account(name = test + i));
- }
- insert accts
- ApexPages.StandardSetController setCon = new ApexPages.StandardSetController(Database.getQueryLocator([
- SELECT
- Id, Name
- FROM Account
- LIMIT 10000
- ]));
- System.debug('has more? ' + setCon.getCompleteResult());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement