Can someone please answer to the below queries:
What is the maximum number of records fetched by Database.query() and Database.getQueryLocator?
I know that SOQL fetches only 50,000 records, but what about the above mentioned ones. I'm passing a query string in the Database.query() to fetch the records. I wanted to know the limitation of the Database.query() and Database.getQueryLocator. I'm using this in the Apex controller as of now.
1 comment
Hi Suhas,
Did you try -
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm