Sometimes in postgresql you need to pass a pair of value to a function.
The example I have in mind is something like array_agg ((foo.bar, foo.baz)) (the double parenthesis is required).
It would be nice to have a pair function with signature SqlExpr (Value a) -> SqlExpr (Value b) -> SqlExpr (Value (a, b)) to construct such values
Sometimes in postgresql you need to pass a pair of value to a function.
The example I have in mind is something like
array_agg ((foo.bar, foo.baz))(the double parenthesis is required).It would be nice to have a
pairfunction with signatureSqlExpr (Value a) -> SqlExpr (Value b) -> SqlExpr (Value (a, b))to construct such values