You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/platform-supported-content/modules/oql-module.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,9 @@ Care should be taken to guarantee that the query is valid and does not expose ap
26
26
The OQL module has the following features:
27
27
28
28
* Executes an OQL query directly or loads a query from a dataset
29
+
* Executes an OQL statement
29
30
* Supports running queries with limit and offset
30
-
* Supports OQL named query parameters
31
+
* Supports queries and statements with OQL named query parameters
31
32
* Returns data directly or generates a CSV file
32
33
* If you opt to generate a CSV file, this can be created with the following characteristics:
33
34
* Compressed in a Zip file
@@ -82,6 +83,16 @@ It returns the following:
82
83
83
84
* The number of results of executing `statement`
84
85
86
+
### ExecuteDMLStatement {#executedmlstatement}
87
+
88
+
This action executes an [OQL Statement](/refguide/oql-statements/) and returns the number of affected rows.
89
+
90
+
Named parameters are also supported when running OQL statements.
91
+
92
+
{{% alert color="info" %}}
93
+
The `ExecuteDMLStatement` action is only available starting with the OQL Module version 5.0.0 and above.
94
+
{{% /alert %}}
95
+
85
96
### ExportOQLToCSV {#exportoqltocsv}
86
97
87
98
This action executes an OQL query and saves the result in a CSV file.
@@ -117,3 +128,6 @@ If you wish to use named parameters inside an OQL query, you must call the follo
117
128
{{% alert color="info" %}}
118
129
If you wish to keep the same parameters across multiple calls to the [ExecuteOQLStatement](#executeoqlstatement) action, you must set `preserveParameters` to `true`. All other OQL actions above will clear all defined parameters after every call.
119
130
{{% /alert %}}
131
+
{{% alert color="info" %}}
132
+
The `AddDateTimeParameter` action is not supported in conjunction with the [ExecuteDMLStatement](#executedmlstatement) action.
0 commit comments