[PR #576] [MERGED] Update docs/en/reference/batch-processing.rst #8392

Closed
opened 2026-01-22 15:59:43 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/576
Author: @acasademont
Created: 2/8/2013
Status: Merged
Merged: 2/11/2013
Merged by: @beberlei

Base: masterHead: patch-1


📝 Commits (1)

  • 4c90d0c Update docs/en/reference/batch-processing.rst

📊 Changes

1 file changed (+5 additions, -3 deletions)

View changed files

📝 docs/en/reference/batch-processing.rst (+5 -3)

📄 Description

If you have only $batchSize - 1 rows (amongst other cases), the entities are never flushed, you need a final flush outside the loop.

In the bulk insert you should also need a final flush if the number of entities inserted is not a multiple of the $batchSize.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/576 **Author:** [@acasademont](https://github.com/acasademont) **Created:** 2/8/2013 **Status:** ✅ Merged **Merged:** 2/11/2013 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`4c90d0c`](https://github.com/doctrine/orm/commit/4c90d0cedcd787c0d79ba180cb739ae7d891595a) Update docs/en/reference/batch-processing.rst ### 📊 Changes **1 file changed** (+5 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/en/reference/batch-processing.rst` (+5 -3) </details> ### 📄 Description If you have only $batchSize - 1 rows (amongst other cases), the entities are never flushed, you need a final flush outside the loop. In the bulk insert you should also need a final flush if the number of entities inserted is not a multiple of the $batchSize. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:59:43 +01:00
admin closed this issue 2026-01-22 15:59:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8392