DDC-828: Aritmetic opearations in orderBy #1021

Open
opened 2026-01-22 12:59:06 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 6, 2010).

Jira issue originally created by user mojito:

I'm trying to order by calculating entity values( on mysql )
$qb->select(array('u'))
->from('User', 'u')
->orderBy(' u.a - u.b ', 'ASC')

is there a way to make this possible

Originally created by @doctrinebot on GitHub (Oct 6, 2010). Jira issue originally created by user mojito: I'm trying to order by calculating entity values( on mysql ) $qb->select(array('u')) ->from('User', 'u') ->orderBy(' u.a - u.b ', 'ASC') is there a way to make this possible
admin added the New Feature label 2026-01-22 12:59:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1021