Fork me on GitHub
#sql
<
2022-04-21
>
Benjamin08:04:48

Hi, is there an example using jdbc with redshift?

andersmurphy14:04:12

Hi, in honeysql is there a way to call functions in select?

Cora (she/her)14:04:28

wrap it in [:fn_name ...args]

andersmurphy14:04:38

worked it out had to add an extra set

andersmurphy14:04:53

yeah missed the extra set of []. It was aliasing.

seancorfield15:04:05

There's a #honeysql channel for future questions, and that issue of needing the extra brackets is specifically called out in the docs. Let me know if you have suggestions for making that clearer.

andersmurphy15:04:36

No, no the docs are fantastic, I’m just blind. 😅 Honeysql has made it so pleasant to use sql, that the next thing you know you are really pushing the limits of what you are trying to get the database to do from a query extravagance perspective. Thanks again.

1