honeysql 2023-05-27

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

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

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

Thanks a lot !

👍 1