I have phql query looking like this:
$query = $this->modelsManager->createQuery("SELECT Projects.id,FROM_UNIXTIME(Projects.created_at,' %h:%i%p %m/%d') as created_at,Projects.project_title,Projects.project_description,ProjectTypes.project_type_name,DeveloperLevel.level_name,DeveloperLevel.level_description,GROUP_CONCAT(Skill.skill_name SEPARATOR ', ' ) as skills
FROM Projects
Left Join ProjectTypes
ON Projects.project_type = ProjectTypes.id
Left Join DeveloperLevel
ON Projects.developer_level = DeveloperLevel.id
Left Join ProjectSkill
ON Projects.id = ProjectSkill.pID
Left Join Skill
ON ProjectSkill.sID = Skill.id
WHERE Projects.id IN({$ids}) GROUP BY Projects.id order by Projects.id DESC ");
$respond = $query->execute()->toArray();
When I try to execute I am getting : Syntax error, unexpected token IDENTIFIER(SEPARATOR), near to ' ', '
I can remove the SEPARATOR and it works perfect, but I don't want to reformat data in frontend replacing ',' with ', '. Did I mess something with query or phql doesn't support yet separator ?