arbiter-hasql-0.1.0.0
arbiter-hasql
Safe HaskellNone
LanguageGHC2024

Arbiter.Hasql.Compat

Description

Every hasql version difference that arbiter-hasql depends on.

Synopsis

Documentation

Source #runSQL :: MonadUnliftIO m => Connection -> ByteString -> m ()

Run a bare SQL command, such as BEGIN or COMMIT.

Source #connectionInTransaction :: Connection -> IO Bool

Whether the connection is in a transaction block, valid or aborted.

Source #withHasqlLibPQConnection :: Connection -> (Connection -> IO a) -> IO a

Run an action with the underlying libpq connection, for LISTEN/NOTIFY.

Source #hasqlSettings :: ByteString -> HasqlSettings

Convert a connection string ByteString to hasql settings.

Source #type HasqlSettings = Settings

Connection settings, whose representation follows the hasql version.