Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
4 votes
Accepted

Why can a Set be modified in an Apex loop but not a List?

In Iterating Collections, we are instructed: Collections can consist of lists, sets, or maps. Modifying a collection's elements while iterating through that collection is not supported and causes an ...
sfdcfox's user avatar
  • 494k
1 vote
Accepted

LWC - How To Loop Through A List With data-aura-rendered-by attribute?

The various attributes you've coded in shouldn't be there. If you copy-pasted this elsewhere in the UI, note that these properties were generated at runtime, and don't actually exist in the source ...
sfdcfox's user avatar
  • 494k
1 vote

System.LimitException: Too many query rows: 50001 when Using AggregateResult interface in batch class?

The start method supports more than 50k limit only if you use QueryLocator. When you use aggregate result in batch, we hit the normal limit. Instead of using Aggregate Result, you can try below code. ...
SFDCDJ's user avatar
  • 1,864

Only top scored, non community-wiki answers of a minimum length are eligible