Execute CTE Query #9279
-
Hello, I would like to know if it is possible to execute CTE requests like this one via Doctrine or Symfony : Thank you in advance for your answers Translated with www.DeepL.com/Translator (free version) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Its not possible to do CTE queres with DQL, but you can use SQL and result set mapping: https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/native-sql.html#native-sql |
Beta Was this translation helpful? Give feedback.
Its not possible to do CTE queres with DQL, but you can use SQL and result set mapping:
https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/native-sql.html#native-sql