-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | postgresql-tx interfacing for use with postgresql-simple.
--
-- Please see the README on GitHub at
-- https://github.com/simspace/postgresql-tx#readme
@package postgresql-tx-simple
@version 0.1.0.0
module Database.PostgreSQL.Tx.Simple
type PgSimpleM = ReaderT Connection TxM
withTransaction :: Connection -> TxM a -> IO a
withTransactionLevel :: IsolationLevel -> Connection -> TxM a -> IO a
unsafeFromPgSimple1 :: (Connection -> a1 -> IO r) -> a1 -> PgSimpleM r
unsafeFromPgSimple2 :: (Connection -> a1 -> a2 -> IO r) -> a1 -> a2 -> PgSimpleM r
-- | Re-export of query
query :: (ToRow q, FromRow r) => Query -> q -> PgSimpleM [r]
-- | Re-export of query_
query_ :: FromRow r => Query -> PgSimpleM [r]
-- | Re-export of execute
execute :: ToRow q => Query -> q -> PgSimpleM Int64
-- | Re-export of execute_
execute_ :: Query -> PgSimpleM Int64