Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate ARRAY[..] for PostgreSQL #330

Open
lf- opened this issue Aug 16, 2022 · 1 comment
Open

Generate ARRAY[..] for PostgreSQL #330

lf- opened this issue Aug 16, 2022 · 1 comment

Comments

@lf-
Copy link
Contributor

lf- commented Aug 16, 2022

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-
Copy link
Contributor Author

lf- commented Aug 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant