Skip to content

Commit bfc68b3

Browse files
committed
Add warning about removeElement on extra lazy
1 parent 1e62837 commit bfc68b3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/en/tutorials/extra-lazy-associations.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ With extra lazy collections you can now not only add entities to large collectio
3636
easily using a combination of ``count`` and ``slice``.
3737

3838

39+
.. warning::
40+
41+
Using ``removeElement`` will directly issue DELETE queries to the database.
42+
This circumvents the flush operation and might run outside a transactional
43+
boundary if you don't create one yourself.
44+
45+
3946
Enabling Extra-Lazy Associations
4047
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4148

0 commit comments

Comments
 (0)