Please enable JavaScript.
Coggle requires JavaScript to display documents.
Governor Limits (HOW TO BULKIFY (COMBINE SOQL QUERIES (CREATE A SET WITH…
Governor Limits
HOW TO BULKIFY
DML STATEMENTS NEVER IN LOOP
ADD RECORDS IN A LIST
INSERT LIST OUTSIDE LOOP
USE MAPS
COMBINE SOQL QUERIES
CREATE A SET WITH ALL VALUES
QUERY RECORDS FROM SET
WHY BULKIFY
TRIGGERS ON SAME OBJECT SHARE LIMIT
GOOD GENERAL KNOWLEDGE
200 RECORDS IN TRIGGER BUT 100 QUERIES LIMIT
WHAT ARE THEY
PROS
PREVENT BAD CODE
PREVENT EXTRA CPU USAGE
UNIQUE TO APEX
CONS
CAN'T INCREASE LIMIT
PREVENT YOU FROM DOING QUERIES