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
TbomTbom 

what's the query limit within an Apex class called by the Apex Code Scheduler? 1000 or 10000?

what's the query limit within an Apex class called by the Apex Code Scheduler? 1000 or 10000?

Novo_ArtisNovo_Artis

I can't find anything in the documentation (someone please point out if it's there) but you could just run a query and check the debug log.

In case you are unsureof how to do this. Goto Setup -> Monitoring -> Debug Logs

TbomTbom

Just ran a test and my query returned > 1000 records.  So looks like the 10,000 limit ... hooray