PostgreSQLOptions
class in package klyn.databases.sql.postgresql

    public class PostgreSQLOptions:

PostgreSQLOptions

PostgreSQL connection options parsed from a URL.

    import klyn.databases.sql.postgresql

    options = PostgreSQLOptions.parse("postgresql://localhost:5432/app?user=app")

Fields

Modifier and Type | Member | Description
--- | --- | ---
public | connectTimeoutMillis `connectTimeoutMillis as Int` | No summary.
public | database `database as String` | No summary.
public | host `host as String` | No summary.
public | password `password as String` | No summary.
public | port `port as Int` | No summary.
public | socketTimeoutMillis `socketTimeoutMillis as Int` | No summary.
public | sslMode `sslMode as String` | No summary.
public | userName `userName as String` | No summary.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | PostgreSQLOptions `PostgreSQLOptions(host as String = "localhost", port as Int = 5432, database as String = "postgres", userName as String = "", password as String = "", sslMode as String = "prefer", connectTimeoutMillis as Int = 30000, socketTimeoutMillis as Int = 0):` | No summary.