I'm trying to add to a query object a new not standard column:
$query->columns(["c" => "LEFT(GROUP_CONCAT(title ORDER BY title SEPARATOR ', '), 250)"]);
$query->getPhql() returns
SELECT m.LEFT(GROUP_CONCAT(title SEPARATOR ', '), 250) AS c FROM table AS m'
or
$query->columns(["n" => "COUNT(*)"]);
$query->getPhql() returns
SELECT m.COUNT(*) AS n FROM table AS m
it's not correct, how can I add to query special command?