Type Definitions
PGConnectionOptions
PostgreSQL specific extension of the SQLERConnectionOptions from the sqler module.
Properties:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
driverOptions |
Object
|
The |
|||||||||
| Name | Type | Attributes | Description |
|---|---|---|---|
client |
Object
|
<optional> |
An object that will contain properties/values that will be used to construct the PostgreSQL Client
(e.g. |
pool |
Object
|
<optional> |
The pool |
Type:
-
SQLERConnectionOptions
PGExecOptions
PostgreSQL specific extension of the SQLERExecOptions from the sqler module. When a property of binds
contains an object it will be interpolated for property values on the pg module.
For example, binds.name = '${SOME_PG_CONSTANT}' will be interpolated as binds.name = pg.SOME_PG_CONSTANT.
Properties:
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
driverOptions |
Object
|
<optional> |
The |
||||||||||||
| Name | Type | Attributes | Description | ||||
|---|---|---|---|---|---|---|---|
query |
Object
|
<optional> |
The options passed into |
||||
| Name | Type | Attributes | Description |
|---|---|---|---|
name |
String
|
Boolean
|
<optional> |
As stated in the |
Type:
-
SQLERExecOptions
PGTransactionObject
Transactions are wrapped in a parent transaction object so private properties can be added (e.g. prepared statements)
Properties:
| Name | Type | Description |
|---|---|---|
tx |
SQLERTransaction
|
The transaction |
conn |
Object
|
The connection |
unprepares |
Map
|
Map of prepared statement names (key) and no-argument async functions that will be called as a pre-operation call prior to
|
Type:
-
Object