Timeline for How Aggregate Result are count against the Governor Limits?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2016 at 0:40 | vote | accept | MANUELAN00 | ||
Oct 24, 2016 at 0:39 | comment | added | MANUELAN00 | Beautiful, <apex: page readonly="true"> solved my problem. This is just for reporting purposes so I don't need to perform any DML operation. Thanks a lot @sfdcfox...!!! | |
Oct 24, 2016 at 0:32 | comment | added | sfdcfox♦ | @MANUELAN00 The 50,000 row limit applies to all queries in a single transaction, no matter where they're called from. If you need more, consider using @ReadOnly or apex:page's readOnly attribute. | |
Oct 24, 2016 at 0:28 | comment | added | MANUELAN00 | Thanks @sfdcfox. This solved my question, However I would like to ask you what happened if that aggregate result queries 21000 rows. That's less than the 50000 limit but because I'm doing 4 aggregate results that's why I'm hitting the limits. If I move the Aggregate results to different methods will that help? I know for sure that separate they won't hit the limits. | |
Oct 24, 2016 at 0:17 | history | answered | sfdcfox♦ | CC BY-SA 3.0 |