function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hamayoun65hamayoun65 

Spring 10 : Governor Limits

Hi

 

I thought that with Spring 10, the limits for collections had been removed.  When I do a count() query which returns more than 10,000 records it still fails with this error:

 

System.Exception: Too many query rows: 10001 

 

Is there any way around this in Spring 10?  Other than to loop and count?

 

Thx,

Hamayoun

hamayoun65hamayoun65
Never mind, its cs1 which has not been updated to Spring 10 yet.
werewolfwerewolf
Even in Spring '10 there are still limits on the number of records you can touch.