-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Template Haskell utilities for Hasql -- -- Template Haskell utilities for Hasql @package hasql-th @version 0.2 module Hasql.TH -- | Read an SQL-file, containing multiple statements, and produce an -- expression of type ByteString. -- -- Allows to store plain SQL in external files and read it at compile -- time. -- -- E.g., -- --
--   migration1 :: Hasql.Session.Session ()
--   migration1 =
--     Hasql.Session.sql $(Hasql.TH.readFileAsSQL "sql/migration-1.sql")
--   
readFileAsSQL :: String -> Q Exp