Timeline for Can I tell how many records in a Database.QueryLocator()?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2020 at 14:32 | answer | added | Vermajai1995 | timeline score: 0 | |
Jun 15, 2020 at 8:11 | history | edited | CommunityBot |
Commonmark migration
|
|
Feb 4, 2015 at 22:41 | history | tweeted | twitter.com/#!/StackSalesforce/status/563105035111137280 | ||
Dec 21, 2014 at 21:53 | comment | added | Dominic | According to andy fawcett, in batch the query start stores away the entire recordset which is then consumed as if from a cache by the execute method. So somewhere the platform has already completed the query. | |
Dec 21, 2014 at 16:13 | comment | added | Matt and Neil | Really looking forward to some insights on this! Salesforce use their super powers to recurse to the end of the data set with QueryLocators and Custom Iterators, which always surprised me as I figured that to be a one way function! Wonder if they are cloning the cursor under the covers and consuming that to accumulate the count. | |
Nov 18, 2014 at 3:14 | answer | added | Scott VonSchilling | timeline score: 2 | |
Nov 10, 2014 at 15:04 | history | asked | Dominic | CC BY-SA 3.0 |