packages feed

hasql-th 0.1 → 0.1.0.1

raw patch · 2 files changed

+6/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hasql-th.cabal view
@@ -1,7 +1,7 @@ name:   hasql-th version:-  0.1+  0.1.0.1 category:   Hasql, Database, PostgreSQL, Template Haskell synopsis:
library/Hasql/TH.hs view
@@ -19,6 +19,11 @@ -- >migration1 = -- >  $(Hasql.TH.readFileAsTransaction "sql/migration-1.sql") -- +-- Note that so far this function uses a very simple parsing algorithm+-- to extract individual statements from the file.+-- The algorithm simply splits the contents by the semicolon.+-- So make sure that you only apply it to SQL,+-- which only uses the semicolon for statement-separation. readFileAsTransaction :: String -> Q Exp readFileAsTransaction path =   do