Control.Monad.Freer.Extras.Beam.Postgres
data DbConfig Source #
Constructors
Fields
Defined in Control.Monad.Freer.Extras.Beam.Postgres
Methods
(==) :: DbConfig -> DbConfig -> Bool Source #
(/=) :: DbConfig -> DbConfig -> Bool Source #
showsPrec :: Int -> DbConfig -> ShowS Source #
show :: DbConfig -> String Source #
showList :: [DbConfig] -> ShowS Source #
Associated Types
type Rep DbConfig :: Type -> Type Source #
from :: DbConfig -> Rep DbConfig x Source #
to :: Rep DbConfig x -> DbConfig Source #
toJSON :: DbConfig -> Value
toEncoding :: DbConfig -> Encoding
toJSONList :: [DbConfig] -> Value
toEncodingList :: [DbConfig] -> Encoding
parseJSON :: Value -> Parser DbConfig
parseJSONList :: Value -> Parser [DbConfig]
def :: DbConfig
runBeam :: forall effs. (LastMember IO effs, Member (Reader (Pool Connection)) effs) => Trace IO BeamLog -> Pg ~> Eff effs Source #