You need to sign in to do that
Don't have an account?
asdf@asdf.ax408
APEX GOVERNOR LIMITS
Hi ,
I am facing some issues on apex governor limits. can anyone please tel me how to use getQueries() and getLimitQueries() in an simple Apex class..
List<Account> accnts = [select id from account limit 1000];
system.debug('I have performed '+Limits.getQueries()+' and I am allowed up to '+Limits.getLimitQueries()+ ' within this request');
Take a look at the docs for further details: http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_methods_system_limits.htm