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

Interview question for governer limits



if we exceed the governer limits of soaql queries 


what error will be shown ?

what is the solution


please reply to this question......
It should be something like "too many soql queries 101"
I think the possible solutions are:
1. optimize code, for example, avoid queries in for loop.
2. track the governor limit by using the LImits class, stop future querying when the query limit reaches.
3. call future methods.
4. call batch methods.