[PR #11372] [Documentation] Query Result Formats #12976

Closed
opened 2026-01-22 16:15:46 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/11372

State: closed
Merged: Yes


Page: https://www.doctrine-project.org/projects/doctrine-orm/en/2.19/reference/dql-doctrine-query-language.html#query-result-formats

Follow-up of https://github.com/doctrine/orm/pull/11359

The table I initially suggested is probably not working, since the text for each method is too long. And what I really wanted is to make it more scanable. So I tried boldfacing - if this doesn't work, I'll try something else.

Questions:

  1. This section here is basically the same as https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/dql-doctrine-query-language.html#hydration-modes ! So I'll try to merge them (in another PR), OK? I think the list is a better format (more scanable) - since those methods all work the same, there's no need for a full-blown code sample for each, IMO.

  2. getSingleColumnResult() is missing.

  3. For getSingleResult and getOneOrNullResult I couldn't find out the const

**Original Pull Request:** https://github.com/doctrine/orm/pull/11372 **State:** closed **Merged:** Yes --- Page: https://www.doctrine-project.org/projects/doctrine-orm/en/2.19/reference/dql-doctrine-query-language.html#query-result-formats Follow-up of https://github.com/doctrine/orm/pull/11359 The table I initially suggested is probably not working, since the text for each method is too long. And what I really wanted is to make it more *scanable*. So I tried boldfacing - if this doesn't work, I'll try something else. Questions: 1. This section here is basically the same as https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/dql-doctrine-query-language.html#hydration-modes ! So I'll try to merge them (in another PR), OK? I think the list is a better format (more scanable) - since those methods all work the same, there's no need for a full-blown code sample for each, IMO. 2. `getSingleColumnResult()` is missing. 3. For `getSingleResult` and `getOneOrNullResult` I couldn't find out the `const`
admin added the pull-request label 2026-01-22 16:15:46 +01:00
admin closed this issue 2026-01-22 16:15:46 +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#12976