pub async fn db() -> Arc<Client>Expand description
Establishes a database connection.
Connects to PostgreSQL using the DB_URL environment variable.
Returns an Arc<Client> suitable for sharing across async tasks.
§Environment
Requires DB_URL to be set (e.g., postgres://user:pass@host:port/db).
§Panics
Panics if DB_URL is not set or if connection fails.