Execute SQL

singlestore.exec_sql
ActionDatabases & warehousesconnection required

Calls the SingleStore API with the connection's credentials.

Run a write/DDL statement via the Data API.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
SingleStore
Secret shape
the password, or {"password": "…"}
Config it needs
base_url, user, database
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
sql
SQL statement.
stringYes———

Output

One shape.

result

FieldTypeExample
rows_affected
number—
last_insert_id
number—
{
  "last_insert_id": 0,
  "rows_affected": 0
}

Related SingleStore nodes

See Execute SQL run in a workflow.

In a technical demo we add the SingleStore connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.