mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Result set is empty when using ResultSetMappingBuilder #6815
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?
Originally created by @ghost on GitHub (Sep 1, 2021).
The following code
returns an empty array even though the result of the SQL query is not empty. If ResultSetMappingBuilder::COLUMN_RENAMING_INCREMENT is removed, then either the entire list is returned, or another error happens, depending on whether or not the Order entity has a one-to-one relation to another table.