git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #18 from chris-martin/patch-1
f2d0a2fOleg Grenrus
src/Database/PostgreSQL/Simple.hs+1−1
@@ -338,7 +338,7 @@ execute conn template qs = do
338-- @
338-- @
339-- executeMany c [sql|
339-- executeMany c [sql|
340-- UPDATE sometable
340-- UPDATE sometable
341−-- SET sometable.y = upd.y
341+-- SET y = upd.y
342-- FROM (VALUES (?,?)) as upd(x,y)
342-- FROM (VALUES (?,?)) as upd(x,y)
343-- WHERE sometable.x = upd.x
343-- WHERE sometable.x = upd.x
344-- |] [(1, \"hello\"),(2, \"world\")]
344-- |] [(1, \"hello\"),(2, \"world\")]