PostgreSQL Query
Query a PostgreSQL database.
Properties
| Name | Type | |
|---|---|---|
| engine | String=postgres:query | |
| connection | Object | |
| query | String | |
| schema | Object | |
engine
Must be postgres:query.
- Required
- Yes
connection
The SQL connection parameters.
- Required
- Yes
Properties
| Name | Type | |
|---|---|---|
| host | String | |
| database | String | |
| user | String | |
| password | String | |
connection.host
The network address of PostgreSQL e.g. `db.example.com:5432`.
- Required
- Yes
connection.database
The name of the PostgreSQL database.
- Required
- Yes
connection.user
The username to authenticate to PostgreSQL.
- Required
- Yes
connection.password
The password to authenticate to PostgreSQL. Requires `username`.
- Required
- Yes
query
The SQL query to retrieve the data.
- Required
- Yes
schema
Define the schema of the data, entering the field name returned by the SQL query into `Source`.
- Required
- Yes