-
Hello everyone,
I'm sure there is no syntax error in the query since in phpMyAdmin it works smooth as butter but in my Phalcon code prints the error mentioned before. Also I enabled the phpMyAdmin sql log and the query does not appear so I'm sure it's not even executed at all |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In order to make Phalcon aware of this functionality, you can add a custom function to the dialect and that will do the trick. Have a look at this page and examples |
Beta Was this translation helpful? Give feedback.
GROUP_CONCAT
is not supported natively by Phalcon's adapters since it is driver specific. So your query will not run.In order to make Phalcon aware of this functionality, you can add a custom function to the dialect and that will do the trick. Have a look at this page and examples
https://docs.phalcon.io/4.0/en/db-phql#custom-dialect