mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Docs: "Custom Hydration Modes" code sample is deprecated #6559
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 @ThomasLandauer on GitHub (Oct 28, 2020).
When following https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/reference/dql-doctrine-query-language.html#custom-hydration-modes I'm getting:
I wanted to fix it, but it looks like everything in ResultStatement is deprecated. So what's the new way of setting up a custom hydrator?
@webmasterMeyers commented on GitHub (Mar 17, 2021):
Was this ever figured out? as it says use
fetchFirstColumn()but this function does not exist anywhere