mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #576] [MERGED] Update docs/en/reference/batch-processing.rst #8392
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:patch-1📝 Commits (1)
4c90d0cUpdate 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.