Skip to main content

Execute Query

Execute Query — see the properties below.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties​

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs​

PropertyFieldDescription
Client IDinClientIDClient ID from Connect node
Query ParametersinParamsArray of parameter values for parameterized queries (optional)
SQL QueryinQuerySQL query to execute. Use $1,$2,etc. for parameterized queries

Outputs​

PropertyFieldDescription
Row CountoutRowCountNumber of rows returned or affected
RowsoutRowsArray of result rows as JSON objects

Options​

PropertyFieldDescription
CredentialsoptCredentialsTimescaleDB credentials (optional if using Connect node)
Timeout (seconds)optTimeoutMaximum time in seconds to wait for the query to complete

Requirements​

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.

Connect · Disconnect · Insert Data · Query Data · Create Hypertable · Drop Chunks · Enable Compression · Create Continuous Aggregate · Refresh Continuous Aggregate · Toolkit

See also​