pub fn get_postgres_url() -> Result<String>
Expand description
Gets the PostgreSQL database URL from environment variables.
This function looks for a DATABASE_URL
environment variable that contains
a valid PostgreSQL connection string.
ยงReturns
Returns a Result
containing the database URL string, or an error if the
environment variable is not found or is invalid.