Skip to content

Commit a43e6d9

Browse files
authored
Merge pull request mendix#6146 from dominiquemunten/patch-1
Update community-best-practices-for-app-performance.md
2 parents b0106a9 + 582d554 commit a43e6d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/en/docs/refguide/modeling/community-best-practices-for-app-performance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Indexes is a topic with a long history of best practices from the database world
6060
## 4 Microflow Best Practices {#microflow-community-best-practices}
6161

6262
* Minimize the work in loops:
63-
* Do commits after the loop in a list commit.
64-
* If needed, create a list named `<Entity>_CommitList` before the loop and collect the items to be committed there.
63+
* Do commits and deletes after the loop in a list commit.
64+
* If needed, create a list named `<Entity>_CommitList` (or `<Entity>_DeleteList`) before the loop and collect the items to be committed (or deleted) there.
6565
* For retrieves in a loop, consider retrieving all the data before the loop, and do finds on that list inside the loop.
6666
* If loops contain decisions, consider if the decision logic can be a query before the loop to minimize iterations.
6767
* Prevent unnecessary retrieves if objects or lists can be passed as parameters.

0 commit comments

Comments
 (0)