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
I would like to be able to do a query such as INSERT INTO Table ( Column1, Column2 ) VALUES ( Value1, Value2 ), ( Value1, Value2 ). Is there currently a way to turn [(a,b...)] into a StatementArgument?
edit: After reading the libpq documentation, I see there's no way to do this in a way that fits the hasql's api. The only sensible way to do this is to create a string query containing all the values.
I'd like to be able to do bulk insertions and updates with queries like `INSERT INTO a VALUES (?)" where ? :: Mapping a, Mapping b => [(a,b)]
The text was updated successfully, but these errors were encountered: