Datasource Execute
Executes a SQL INSERT, UPDATE, or DELETE statement and returns the number of rows affected. If INSERT, returns generated key if available.
Pure Function
No
Execute Inputs
Execution
INPUTExecution Input.
Execute Outputs
Complete
OUTPUTFires when the data is successfully inserted into the cube.
Data Inputs
Datasource
INPUTName of the datasource to use.
SQL Query
INPUTThe SQL INSERT, UPDATE, or DELETE statement to execute.
Parameters
INPUTOptional list of parameters to substitute for ? placeholders.
Data Outputs
Rows Affected
OUTPUTinteger
Number of rows affected by the statement.
Multiple
Generated Key
OUTPUTany
Primary key generated by the INSERT statement, if available.
Multiple
Settings
Throw on SQL Error
BOOLEANIf true, will throw an error if a SQL error occurs during query.
Default: true
Debug
STRINGBreak on node when executing.
Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing