heroku-persistent-0.2.0: Parse DATABASE_URL into configuration types for Persistent

Safe HaskellNone
LanguageHaskell2010

Web.Heroku.Persist.Postgresql

Synopsis

Documentation

postgresConf :: Int -> IO PostgresConf Source

Build a PostgresConf by parsing ENV[DATABASE_URL]

fromDatabaseUrl :: Int -> String -> PostgresConf Source

Build a PostgresConf by parsing a database URL String