You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,11 @@ class MaxExecutionTimeSqlWalker extends HintHandler
51
51
52
52
SqlNode is an enum of all `walkXxx` methods in Doctrine's SqlWalker, so you are able to intercept any part of AST processing the SqlWalker does.
53
53
54
+
### Limitations
55
+
- Please note that since [doctrine/orm 3.3.0](https://github.com/doctrine/orm/pull/11188), the produced SQL gets finalized with `LIMIT` / `OFFSET` / `FOR UPDATE` after `SqlWalker` processing is done.
56
+
- Thus, implementors should be aware that those SQL parts can be appended to the SQL after `HintHandler` processing.
57
+
- This means that e.g. placing a comment at the end of the SQL breaks LIMIT functionality completely
0 commit comments