mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 01:13:14 +02:00
[PR #11372] [Documentation] Query Result Formats #12976
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/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:
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.
getSingleColumnResult()is missing.For
getSingleResultandgetOneOrNullResultI couldn't find out theconst