mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
toIterable() Exception - Iterating a query with mixed results (using scalars) is not supported #6663
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 @sergeysrabionyan on GitHub (Mar 26, 2021).
When I try to iterate over the queryBuilder toIterable() method I get an error "Iterating a query with mixed results (using scalars) is not supported", when I use the "deprecated" method iterate () I get the correct result.
Can I repeat the behavior of the iterate () method and make it not deprecated?
@beberlei commented on GitHub (Mar 26, 2021):
We have not managed to find a way to support it yet, but if you do of course we will accept it.
@eigan commented on GitHub (Jul 15, 2021):
Duplicate of #8520