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
AQAQ 

Governor Limits, Summaries, and Triggers

I am wondering if DML statements and SOQL statements in a trigger in the following sequence count against governor limits:

 

Master object A has detail object B.  Object A has summary fields summarizing fields from object b.  There is an after update trigger on object A.

 

As I understand it, the updating of the summary fields on A following and update to the B object will cause the A object's after update trigger to fire.  Will the DML associated with that firing (and any SOQL embedded in the trigger) count against my governor limits?

 

If object B updates a large number of rows at the same time, will the trigger for object A be somehow bulkified as well?  If not, and the triggers DML and SOQL statements could against the limits, is there any technique I might use to get around this?

 

Thanks for your help,

JR