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
Jayaramu T 9Jayaramu T 9 

please help on this i am getting Limit Exception : Too many SOQL queries: 101 on below code

private static testmethod void oobbatchtest(){
    
    test.starttest();
    setup();
    OOBDashboardBatch rs=new OOBDashboardBatch();
    Database.executebatch(rs,200);
    test.stoptest();
tamilselvan ctamilselvan c
Hi Jayaramu,

Could you please post the Code part where you have written the SOQL Query.
No of soql query limit per transaction is 100 in Synchronous.
You must have used more than that or you must have used soql query inside the for loop.

Regards,
Tamilselvan.