Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Connection information for a database. >>> DbConfig "localhost" 5432 "users" "post" "gres"
Instances
FromJSON DbConfig Source # | |
ToJSON DbConfig Source # | |
Defined in Polysemy.Db.Data.DbConfig | |
Generic DbConfig Source # | |
Show DbConfig Source # | |
Eq DbConfig Source # | |
type Rep DbConfig Source # | |
Defined in Polysemy.Db.Data.DbConfig type Rep DbConfig = D1 ('MetaData "DbConfig" "Polysemy.Db.Data.DbConfig" "polysemy-db-0.0.1.0-EOjm8REiHHR4cimfBw4Ew6" 'False) (C1 ('MetaCons "DbConfig" 'PrefixI 'True) ((S1 ('MetaSel ('Just "host") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DbHost) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DbPort)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DbName) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DbUser) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DbPassword))))) |