Read from (query)
Run a SELECT with ? parameters and return the rows as a table.
Command in the Database toolkit · id ooa.database/query · 5 inputs (1 required), 2 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 returned. |
| 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. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Result rows. |
| row_count | Number | Number of rows. |