hugsql

j0ni 2017-12-01T19:59:34.000776Z

hey folks, I have a question about tuple lists: is it possible to use tuple lists for batch inserts when one of the values in each tuple needs to be cast to a custom type? So, as a minimal example, after supplying this tuple list:

[["some_word"]]
I want it to end up like this:
[[CAST("some_word" as my_custom_type)]]

j0ni 2017-12-01T20:00:23.000935Z

or do I just have to iterate over single insert queries to do this?