-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
When Flows or Triggers are poorly designed, creating or updating a large number of records at once can lead to limit exceptions.
Describe the solution you'd like
I would like to be able to specify .chunkSize() or .commitWork(size), even if this approach results in more DML operations within the current transaction.
List<Account> accounts = [....]; // 1000 accounts
new DML()
.toInsert(accounts)
.chunkSize(50)
.commitWork();
new DML()
.toInsert(accounts)
.commitWork(50);Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request