Each row of a SQL query
Run a SELECT with ? parameters and yield each row as a record keyed by column name.
Loop type in the Database toolkit · id ooa.database/query_rows · 5 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| SQL statement | String | Yes | SELECT statement with ? placeholders. | |
| Parameters | List | No | Values for the ? placeholders, in order. | |
| Maximum rows | Number | No | 100000 | Safety limit on rows read. |
| Session | String | No | db | Session name. |
| Query timeout (seconds) | Number | No | 0 | Cancel the statement after this many seconds; 0 waits as long as the step allows. |