QueryDSL 4中的array_agg

我想知道如何在QueryDSL 4中制作array_agg。 我已经写了这个SQL请求:

NOLOCK

制作方法是什么

SELECT array_to_string(array_agg(id),',') as id,id_semaine_type,jour_semaine,heure_debut,heure_fin,array_to_string(array_agg(media),') AS media,array_to_string(array_agg(id_classe_type_population),') as id_classe_type_population
FROM accueil.plage_ouverture 
WHERE id_semaine_type = 6
GROUP BY id_semaine_type,heure_fin
ORDER BY jour_semaine,heure_fin;

在QueryDSL中?

您有解决我问题的想法吗?

非常感谢。

haixiakeji 回答:QueryDSL 4中的array_agg

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2857528.html

大家都在问