Using PgClient.layer with POSTGRESQL_URL Environment Variable

How to call PgClient.layer so it takes the PgClientConfig.url from POSTGRESQL_URL env var?
Was this page helpful?