Affects Version/s: 2.0
Fix Version/s: None
I am refering to the examples on
Let's say you want to process a bulk of 25 objects and have a batchsize of 20.
With the code provided the last 5 would not be saved as far as I understand unless you do another flush after the for-loop.
This is probably very clear to any experienced Doctrine developer but maybe it is also confusing for beginners like me (some internet sources say, that flush is executed automatically at the end of the request, but obviously it is not). Maybe this could be mentioned somewhere?
|Field||Original Value||New Value|
|Workflow||jira [ 13221 ]||jira-feedback [ 13993 ]|
|Workflow||jira-feedback [ 13993 ]||jira-feedback2 [ 15857 ]|
|Workflow||jira-feedback2 [ 15857 ]||jira-feedback3 [ 18113 ]|