Rationale

Salesforce enforce a  limit on the number of SOSL and DML statements per transaction. Reading or writing data inside loops is highly likely to hit such limits.  

Scope

  • Apex classes and triggers
Did this answer your question?