Add support for 'select null' #7407

Open
opened 2026-01-22 15:51:20 +01:00 by admin · 1 comment
Owner

Originally created by @duzenko on GitHub (Aug 12, 2024).

Feature Request

Q A
New Feature yes
RFC ?
BC Break no

Summary

Please support `select null as columnName from entityAlias' in DQL syntax
This is useful when porting custom business SQL to ORM

Ugly workaround is https://github.com/doctrine/orm/issues/1670#issuecomment-591495663

Originally created by @duzenko on GitHub (Aug 12, 2024). ### Feature Request <!-- Fill in the relevant information below to help triage your issue. --> | Q | A |------------ | ------ | New Feature | yes | RFC | ? | BC Break | no #### Summary Please support `select null as columnName from entityAlias' in DQL syntax This is useful when porting custom business SQL to ORM Ugly workaround is https://github.com/doctrine/orm/issues/1670#issuecomment-591495663
admin added the New Feature label 2026-01-22 15:51:20 +01:00
Author
Owner

@derrabus commented on GitHub (Aug 12, 2024):

Please send a PR.

@derrabus commented on GitHub (Aug 12, 2024): Please send a PR.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7407