You need to sign in to do that
Don't have an account?
SfDevForce
Row count added to the total number of records retrieved by SOQL queries
Hi,
I'm trying to get a row count for a report. However, when I do a count(), the total seems to get added to the total number of records retrieved by SOQL queries. If I have 15,000 rows and I do a count(), would I run into the governor limit? Does anyone know? Please help, thank you.
I'm trying to get a row count for a report. However, when I do a count(), the total seems to get added to the total number of records retrieved by SOQL queries. If I have 15,000 rows and I do a count(), would I run into the governor limit? Does anyone know? Please help, thank you.
All Answers
But wouldn't it be nice if it didn't........
http://ideas.salesforce.com/article/show/10089055/Count_the_SOQL_count_query_as_a_single_row_query