hpqtypes
Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.Internal.State

Description

Definition of internal DBT state.

Synopsis

ConnectionData

DBState

data DBState (m :: Type -> Type) Source #

Internal DB state.

Constructors

DBState 

Fields

updateStateWith :: forall sql (m :: Type -> Type) r. IsSQL sql => Connection -> DBState m -> sql -> (r, ForeignPtr PGresult, ConnectionStats -> ConnectionStats) -> IO (r, DBState m) Source #