freer-extras-1.2.0.0: Useful extensions to simple-freer
Safe Haskell None
Language Haskell2010

Control.Monad.Freer.Extras.Beam.Sqlite

Synopsis

Documentation

data DbConfig Source #

Constructors

DbConfig

Fields

Instances

Instances details
Eq DbConfig Source #
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Sqlite

Show DbConfig Source #
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Sqlite

Generic DbConfig Source #
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Sqlite

ToJSON DbConfig Source #
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Sqlite

FromJSON DbConfig Source #
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Sqlite

Default DbConfig Source #
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Sqlite

type Rep DbConfig Source #
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Sqlite

type Rep DbConfig = D1 (' MetaData "DbConfig" "Control.Monad.Freer.Extras.Beam.Sqlite" "freer-extras-1.2.0.0-LXgx2kLJeQTLxOMFH7LYd8" ' False ) ( C1 (' MetaCons "DbConfig" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "dbConfigFile") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 Text ) :*: S1 (' MetaSel (' Just "dbConfigPoolSize") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 Int )))

defaultDbConfig :: DbConfig Source #

Default database config uses an in-memory sqlite database that is shared between all threads in the process.