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
beenerbeener 

Over 200 Records

Hi,

 

I need to create Apex code that manipulates over 200 records. Where can I find instructions on how to do this as simply as possible. I am aware that once can work with a SOQL query in a loop, which allows you to breat the 200 Barrier for one of the objects, but if you have to work with several sets of objects, it becomes difficult.

 

I would appreciate any sources of info.

 

Thanks

 

Ben 

ryanhcaryanhca

There are limits on the number of records you can operate on during your operation (100 trigger/10,000 apex), but otherwise, you should be OK...

 

What's the use case?

beenerbeener

Thank you.

 

But how do I overcome these limitations?

 

Thanks

 

Bes 

sunil316sunil316
you need to use Batch Apex.