-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Convenience types and functions for postgresql-simple. -- -- Please see the README on Github at -- https://github.com/arbor/arbor-postgres#readme @package arbor-postgres @version 0.0.1 module Arbor.Postgres.Env data PostgresEnv PostgresEnv :: Connection -> URI -> PostgresEnv [conn] :: PostgresEnv -> Connection [connString] :: PostgresEnv -> URI instance GHC.Generics.Generic Arbor.Postgres.Env.PostgresEnv module Arbor.Postgres.Password newtype Password Password :: Text -> Password instance GHC.Classes.Eq Arbor.Postgres.Password.Password instance GHC.Show.Show Arbor.Postgres.Password.Password module Arbor.Postgres.Config data PostgresConfig PostgresConfig :: Text -> Text -> Text -> Maybe Password -> PostgresConfig [host] :: PostgresConfig -> Text [database] :: PostgresConfig -> Text [user] :: PostgresConfig -> Text [password] :: PostgresConfig -> Maybe Password optsPostgresConfig :: String -> Parser PostgresConfig instance GHC.Generics.Generic Arbor.Postgres.Config.PostgresConfig instance GHC.Show.Show Arbor.Postgres.Config.PostgresConfig instance GHC.Classes.Eq Arbor.Postgres.Config.PostgresConfig module Arbor.Postgres.Core connectPostgres :: PostgresConfig -> IO PostgresEnv newtype Table Table :: Text -> Table [table] :: Table -> Text mkConnectionString :: PostgresConfig -> URI mkResourceURI :: URI -> Table -> [(Text, Text)] -> URI instance GHC.Show.Show Arbor.Postgres.Core.Table instance Data.String.IsString Arbor.Postgres.Core.Table