rel8 icon indicating copy to clipboard operation
rel8 copied to clipboard

Support array operations

Open isovector opened this issue 2 years ago • 1 comments

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

isovector avatar Jul 01 '22 11:07 isovector

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 "<@"

shane-circuithub avatar Jul 01 '22 16:07 shane-circuithub