You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But of course this is not correct, as the left-hand side has type (SqlExpr (Value a), SqlExpr (Value b)) whereas we need SqlExpr (Value (a, b)). It seems to me naively that such a function ought to be possible to define and add amongst the "normal stuff" utilities.
The text was updated successfully, but these errors were encountered:
Is this syntax supported by multiple databases or just psql? It would require better support for row values as I believe it is essentially syntactic sugar over arrays of rows in postgres.
As a workaround you could always use a correlated sub query that selects from values, it's not ideal for sure but it might solve an immediate problem.
Does esqueleto offer a way to use compound fields in an
IN
clause? e.g.One would want to write
But of course this is not correct, as the left-hand side has type
(SqlExpr (Value a), SqlExpr (Value b))
whereas we needSqlExpr (Value (a, b))
. It seems to me naively that such a function ought to be possible to define and add amongst the "normal stuff" utilities.The text was updated successfully, but these errors were encountered: