Skip to main content

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​

InputTypeRequiredDefaultWhat it is
SQL statementStringYesSELECT statement with ? placeholders.
ParametersListNoValues for the ? placeholders, in order.
Maximum rowsNumberNo100000Safety limit on rows read.
SessionStringNodbSession name.
Query timeout (seconds)NumberNo0Cancel the statement after this many seconds; 0 waits as long as the step allows.