Skip to main content
6 events
when toggle format what by license comment
Jun 15, 2020 at 8:11 history edited CommunityBot
Commonmark migration
Dec 10, 2015 at 10:15 comment added Walker i need to use such queries in a class which implements Batchable. this batch class will be scheduled to run at specific intervals. Is there any relaxation in terms of number of records returned in case SOQL is being called in batch context ?
Dec 10, 2015 at 10:13 comment added Ashwani @Walker for records > 50000 it won't work. You can use @ readonly attribute on page to extend this limit.
Dec 10, 2015 at 9:55 comment added Walker does the code you highlighted works if number of records returned are more than 50000 ? will the below work for more than 50000 rows : AggregateResult results = database.query('SELECT COUNT(id) result FROM someSObject'); System.debug('No of ids are: '+results.get('result')); // Id are always unique
Sep 12, 2013 at 17:59 history edited Ashwani CC BY-SA 3.0
added 310 characters in body
Sep 12, 2013 at 17:51 history answered Ashwani CC BY-SA 3.0