honeysql 2026-05-13

Jakub Holý (HolyJak) 2026-05-13T11:01:38.343869Z

Hi! Is there a way to write (Postgres) (array_agg("lastModifiedBy" ORDER BY "lastUpdated" DESC))[1] in Honey? I am struggling with the bracket operator. The array agg I can write as [:array_agg [:order-by :lastModifiedBy [:lastUpdated :DESC]]] . Honey supports :at but only for json? When I try it here, (hh/select [[:at [[:array_agg ...] 0]] :myalias] ...) it becomes a fn call: (AT (array_agg ...)) 🙏 SOLVED, I just needed latest Honey

✅ 1