bitemyapp/esqueleto

Generate ARRAY[..] for PostgreSQL

lf- opened this issue · 1 comments

lf- commented

I would like to generate a value ARRAY[1, 2] in an esqueleto query.

There is mkTextArray in the internals of JSON.hs, but otherwise not really anything that I can find.

cc @parsonsmatt

lf- commented

hm, val [a, b, c], but that's for literals only (i think?). I would like to use it for columns