| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.PostgreSQL.Tx.Squeal.Compat.Simple
Synopsis
- withSquealConnection :: Connection -> (SquealConnection -> IO a) -> IO a
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