Postgres
Run Query
Executes SQL against a database linked via the Postgres integration. Inputs- Postgres account.
- Query — SQL editor (config). Use
$1,$2,$3, … for bound parameters (never concatenate raw user input into SQL). - Parameters — Repeatable list of values; first parameter maps to
$1, second to$2, etc. Leave empty for queries with no placeholders.
- rows — Repeatable: each item is one row as an object (column names → values). Suitable for
SELECTresults. - rowCount — Number of rows returned or affected (depending on the statement).
INSERT/UPDATE/DELETE, you may get zero rows but a non-zero rowCount; design your workflow accordingly.