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
mahimahi 

can we use anonymous blocks with triggers

Hi,
 
As per Apex guide, there is a limit of 100 SOQL inside anonymous block.
 
Can we use anonymous block with trigger?
 
Thanks,
mahi
Divya GoelDivya Goel
No