postgres.ql
An entity for interacting with a PostgreSQL database.
| Constructor | Description |
|---|---|
| Database(url, username, password) |
| Function | Description |
|---|---|
| static fun createDatabase(host, port, database, username, password) | Create an unauthenticated reference to a database. No connection occurs yet. |
| static fun createDatabase(url, username, password) | Create an unauthenticated reference to a database. No connection occurs yet. |
| static fun createDatabase(url) | Create an unauthenticated reference to a database. No connection occurs yet. |
| native fun createConnection() | Create a connection to the database. |
| Field | Description |
|---|---|
| string url | |
| string username | |
| string password |
Create an unauthenticated reference to a database. No connection occurs yet.