Timeline for parent-child relationship subqueries not contributing to governor limits
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2018 at 13:05 | comment | added | Cuban coffee | I agree it contributed but only with the aggregate queries. I also iterate over the child records, same thing :( | |
Jul 11, 2018 at 13:02 | comment | added | Derek F |
@Cubancoffee Your aggregate queries did contribute to your governor limits, that's precisely why you see aggregate queries: 3 out of 300 in your logs. As for the rows returned, maybe Salesforce doesn't count child records towards query rows until you actually iterate through the child records.
|
|
Jul 11, 2018 at 12:55 | comment | added | Cuban coffee | I have 32512 accounts I checked the list.size(). This is really weird :(. This means that the aggregation query did not contribute to the number of queries issued and fetched rows. | |
Jul 11, 2018 at 12:40 | history | answered | Derek F | CC BY-SA 4.0 |