mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #1397] Add Expr::concat support for multiple arguments #9455
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?
Original Pull Request: https://github.com/doctrine/orm/pull/1397
State: closed
Merged: Yes
DQL CONCAT function support variable number of arguments (2+) since version
2.4.0.The
Exprclass, on the other hand, is still limited to 2 arguments, and require multiple call to achive a similar result (see this SO question). I've improvedExprimplementation to support variable number of arguments in a backward compatible way.Please, consider backporting to
2.4branch if you plan to release other versions, since2.5introduce many features and may not be possible to easily upgrade. I may be wrong, though.