Merge pull request #1094 from thekeyboardbum/master
Fix bulk insert code example
This commit is contained in:
commit
0650bb954f
@ -42,6 +42,8 @@ internally but also mean more work during ``flush``.
|
||||
$em->clear(); // Detaches all objects from Doctrine!
|
||||
}
|
||||
}
|
||||
$em->flush(); //Persist objects that did not make up an entire batch
|
||||
$em->clear();
|
||||
|
||||
Bulk Updates
|
||||
------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user