esqueleto icon indicating copy to clipboard operation
esqueleto copied to clipboard

Generate ARRAY[..] for PostgreSQL

Open lf- opened this issue 3 years ago • 1 comments

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- avatar Aug 16 '22 21:08 lf-

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

lf- avatar Aug 17 '22 15:08 lf-