- dbConnParams :: IO [(Text, Text)]
- parseDatabaseUrl :: String -> [(Text, Text)]
Documentation
dbConnParams :: IO [(Text, Text)]Source
read the DATABASE_URL environment variable and return an alist of connection parameters with the following keys: user, password, host, port, dbname
warning: just calls error if it can't parse correctly
parseDatabaseUrl :: String -> [(Text, Text)]Source