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

Support array operations #188

Open
isovector opened this issue Jul 1, 2022 · 1 comment
Open

Support array operations #188

isovector opened this issue Jul 1, 2022 · 1 comment

Comments

@isovector
Copy link

I'd like access to the <@ operator as described here https://www.postgresql.org/docs/current/functions-array.html

@shane-circuithub
Copy link
Contributor

This probably isn't something we're going to get around to any time soon, but in the mean time you can do this:

(<@) :: Sql DBEq a => Expr [a] -> Expr [a] -> Expr Bool
(<@) = binaryOperator "<@"

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

2 participants