In this episode we go over some best practices when iterating over collections in Apex to help ensure you don't run into limits!
Please consider donating to help continue to improve the content produced for Coding With The Force: [ Ссылка ]
Get Coding With The Force Merch Here: [ Ссылка ]
Follow all of our social media here:
Patreon: [ Ссылка ]
Github: [ Ссылка ]
Facebook: [ Ссылка ]
Twitter: [ Ссылка ]
Instagram: [ Ссылка ]
Salesforce development books I recommend:
Advanced Apex Programming: [ Ссылка ]
Salesforce Lightning Platform Enterprise Architecture: [ Ссылка ]
Mastering Salesforce DevOps: [ Ссылка ]
Good Non-SF Specific Development Books:
Clean Code: [ Ссылка ]
Clean Architecture: [ Ссылка ]
-----------------------------------------------------------------------------------------------------------------------
Table of Contents:
0:00 - Intro
2:35 - Why you should always bulkify DML Statements
8:11 - Why you should never use SOQL when iterating over collections
11:22 - Why you should try to use Maps instead of nested for loops
15:16 - Outro
DISCLAIMER: The views and ideas expressed on this YouTube channel and blog are based on past development experiences and may not always work for your particular scenarios. The advice in these videos may also become outdated as technology advances. They should be used as examples for educational purposes only. Using any shown solutions in your own org is not advisable since they are example scenarios.
#salesforce #salesforcedeveloper #salesforceadmin
Ещё видео!