The leaf part isn't the problem, it can filter on parents as well, but not if the parent is an abstract class.
-- Jasper N. Brouwer (@jaspernbrouwer) On 5 December 2014 at 11:26:51, Stefano Angaran ([email protected]) wrote: > I was looking at Doctrine SQLWalker code and that was my conclusion too. > > I think I will refactor my query code then. If I change the FROM clause to > look for B items I can make it work without using instance of operator. > > My suggestion is also to better clarify this in the INSTANCE OF operator > documentation stating that it should be used only to search for leaf > entities, what you think? -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
