honeysql

Nazral 2023-05-27T15:25:51.129139Z

Hi! How can I do json_group_array(table.col) AS foo with honeysql ?

Nazral 2023-05-27T15:26:56.867319Z

the AS part I got it no problem, but the json_group_array

p-himik 2023-05-27T15:27:25.217899Z

(sql/format {:select [[[:json_group_array :table/col] :foo]]} )
=> ["SELECT JSON_GROUP_ARRAY(table.col) AS foo"]

Nazral 2023-05-27T15:27:42.522619Z

Thanks a lot !

👍 1