mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
add LIMIT on update query #5937
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?
Originally created by @safwanghamrawi on GitHub (Mar 29, 2018).
Originally assigned to: @safwanghamrawi on GitHub.
When we make an update query builder with setMaxResults to add LIMIT, the LIMIT is ignored in the class SqlWalker method walkUpdateStatement. Could we modify this function to be like:
`
@Ocramius commented on GitHub (Mar 29, 2018):
@safwanghamrawi a test case showing a failure caused by this is required before considering any fixes.