public static parse(url as String, properties as Map<String, String> = null) as PostgreSQLOptions
Parses a PostgreSQL URL without opening a network connection. URL query options override the path; explicit properties override the URL.
| Parameter | Description |
|---|---|
url | postgres://, postgresql://, or jdbc:postgresql:// connection URL. |
properties | Optional connection parameters. |
Validated host, database, credentials and transport options.
options = PostgreSQLOptions.parse("jdbc:postgresql://localhost/app?sslmode=require")