Query::toIterable yields results differently from getResult
#11478
Unanswered
MatTheCat
asked this question in
Support Questions
Replies: 1 comment
-
|
May be related to #2821 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given an entity
Aand another entityBreferencingA,the following query will have its results organized differently depending on how they are fetched.
toIterablewill yield arrays where the first element is instance ofAand the second instance ofB.getResultwill return an array alternating instances ofAandB.toIterable’s behavior seems more intuitive to me butgetResultandgetArrayResultshare a different one. Is that a bug? I couldn’t find anything in the documentation regarding this specific case.Beta Was this translation helpful? Give feedback.
All reactions