Copyright | 2014, 2015 © Futurice OY, Oleg Grenrus |
---|---|
License | MIT (see the file LICENSE) |
Maintainer | Oleg Grenrus <[email protected]> |
Safe Haskell | None |
Language | Haskell2010 |
Database.PostgreSQL.Simple.URL
Description
Documentation
parseDatabaseUrl :: String -> Maybe ConnectInfo Source
Parse string url into ConnectInfo
.
parseDatabaseURL "postgres://foo:[email protected]:2345/database" == ConnectInfo "example.com" 2345 "foo" "bar" "database"