Ecto.Utils

Source

Summary

parse_url(url)

Parses an Ecto URL of the following format: ecto://username:password@hostname:port/database?opts=123 where all options but the database is optional

Functions

parse_url(url)

Parses an Ecto URL of the following format: ecto://username:password@hostname:port/database?opts=123 where all options but the database is optional.

If username is not specified, $PGUSER or $USER will be used. password defaults to $PGPASS. hostname defaults to $PGHOST or localhost.

Source