mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 17:33:15 +02:00
[PR #604] Added support for string functions in OrderBy clause #8440
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/604
State: closed
Merged: No
Extended the OrderBy parser to support string functions directly in the
Order Byclause so you can do things like:ORDER BY LENGTH(a.somefield)or a typical use case with the doctrineExtensions
ORDER BY FIELD(a.somefield, 5, 10, 8, 12)