postgresql-tx-squeal-compat-simple-0.2.0.0: Connection interop from postgresql-simple connections to postgresql-libpq connections.
Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.Tx.Squeal.Compat.Simple

Synopsis

Documentation

withSquealConnection :: Connection -> (SquealConnection -> IO a) -> IO a Source #

Used in the SquealEnv to specify the SquealConnection from a postgresql-simple Connection.

mkSquealConnection should be preferred over this function if you are only working with postgresql-libpq connections.

Since: 0.1.0.0