The compile-time database's URL: JACKET_DATABASE_URL, else DATABASE_URL, from the environment;
when it has neither, the same two names in the project's .env file. Empty when there is none.
- root: the project root, where the
.envfile is looked for.
database_url :: (root: string) -> string
The compile-time database's URL: JACKET_DATABASE_URL, else DATABASE_URL, from the environment;
when it has neither, the same two names in the project's .env file. Empty when there is none.
Parameters
- root: string
- the project root, where the
.envfile is looked for.
Returns
- string