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
Gwirizanani SinoiaGwirizanani Sinoia 

Apex System.LimitException: Too many SOQL queries: 101

Could some please help with the following error i am getting on my code

system.assertEquals([Select Id from Pl_Caseit__c Where ID =:policyList[0].Id].Id!=null,true);
Raj VakatiRaj Vakati
Can you share the complete code?
Manj_SFDCManj_SFDC
your query is fetching more than 100 records, please take a look