Does Doctrine ORM suffer of the problem of useless order by on some ORM prefetches ? #11375
-
Hello, Recently I found a problem with Django and submitted a patch in a PR: I don't know yet Doctrine ORM details. Can someone please dump the queries of such prefetches and see if the bug is present in Doctrine ORM ? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't think it is affected. In Doctrine ORM, there can be a default order, but it is specified on relationships, and not on entities themselves: https://www.doctrine-project.org/projects/doctrine-orm/en/3.1/reference/attributes-reference.html#attrref_orderby |
Beta Was this translation helpful? Give feedback.
I don't think it is affected. In Doctrine ORM, there can be a default order, but it is specified on relationships, and not on entities themselves: https://www.doctrine-project.org/projects/doctrine-orm/en/3.1/reference/attributes-reference.html#attrref_orderby