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: README.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ In the Password field please provide a password of the user that has permissions
73
73
74
74
Validation will start right after click on a Save button. You will be able to continue working with component after validation if all provided credentials will be valid.
75
75
## Triggers
76
-
### SELECT
76
+
### Select trigger
77
77
You are able to provide SELECT query with last execution timestamp as WHERE clause criteria.
Before executing the the statement %%EIO_LAST_POLL%% will be replaced with ISO Date of the last execution or max value of the last pooled datetime, for example ``2018-08-01T00:00:00.000``.
@@ -87,7 +87,7 @@ The format of ``Start Polling From (optional)`` field should be like ``yyyy-mm-d
87
87
-``mi`` - minute
88
88
-``ss`` - second
89
89
-``sss`` - millisecond (optional)
90
-
### GET ROWS POLLING
90
+
### Get Rows Polling trigger
91
91
This trigger can polling data from provided table. As WHERE clause you can use column, which has datatype like DATE or TIMESTAMP.
Before executing the the statement %%EIO_LAST_POLL%% will be replaced with ISO Date of the last execution or max value of the last pooled datetime, for example ``2018-08-01T00:00:00.000``.
@@ -101,8 +101,13 @@ The format of ``Start Polling From (optional)`` field should be like ``yyyy-mm-d
101
101
-``mi`` - minute
102
102
-``ss`` - second
103
103
-``sss`` - millisecond (optional)
104
+
105
+
### SELECT trigger (Deprecated)
106
+
This action exists in JDBC component only for backward compatibility. New [**Select trigger**](#select-trigger) is recommended to use.
The action will execute an [SQL](https://en.wikipedia.org/wiki/SQL"SQL") query that can return multiple results, it has limitations on the query and suited only for SELECT type of queries.
108
113
In SQL query you can use clause variables with specific data types.
@@ -141,7 +146,7 @@ Checkbox ``Don't throw Error on an Empty Result`` allows to emit an empty respon
141
146
#### Input fields description
142
147
Component supports dynamic incoming metadata - as soon as your query is in place it will be parsed and incoming metadata will be generated accordingly.
The action will execute select query from a ``Table`` dropdown field, as criteria can be used only [PRIMARY KEY](https://en.wikipedia.org/wiki/Primary_key"PRIMARY KEY"). The action returns only one result (a primary key is unique).
@@ -150,7 +155,7 @@ Checkbox ``Don't throw Error on an Empty Result`` allows to emit an empty respon
As an input metadata you will get a Primary Key field to provide the data inside as a clause value.
152
157
153
-
### UPSERT BY PRIMARY KEY
158
+
### Upsert Row By Primary Key action
154
159
The action will execute ``SELECT`` command from a ``Tables`` dropdown field, as search criteria can be used only [PRIMARY KEY](https://en.wikipedia.org/wiki/Primary_key"PRIMARY KEY"), and execute ``INSERT`` command by PRIMARY KEY with specified field, if result does not found, else - action will execute ``UPDATE`` command by PRIMARY KEY with specified field. The action returns only one result row (a primary key is unique).
155
160
1. Find and select jdbc-component in the component repository
@@ -183,14 +188,17 @@ The action will execute ``SELECT`` command from a ``Tables`` dropdown field, as
183
188
As an input metadata you will get all fields of selected table. [PRIMARY KEY](https://en.wikipedia.org/wiki/Primary_key"PRIMARY KEY") is required field (will mark as asterisk) and other input fields are optional.
The action will execute delete query from a ``Table`` dropdown field, as criteria can be used only [PRIMARY KEY](https://en.wikipedia.org/wiki/Primary_key"PRIMARY KEY"). The action returns count of affected rows.
189
194
Checkbox ``Don't throw Error on an Empty Result`` allows to emit an empty response, otherwise you will get an error on empty response.
As an input metadata you will get a Primary Key field to provide the data inside as a clause value.
193
198
199
+
### Create or update record action (Deprecated)
200
+
This action exists in JDBC component only for backward compatibility. [**Upsert row by primary key**](#upsert-row-by-primary-key-action) Action is recommended to use.
201
+
194
202
## Current limitations
195
203
1. Only tables with one [PRIMARY KEY](https://en.wikipedia.org/wiki/Primary_key"PRIMARY KEY") is supported. You will see the message ``Table has not Primary Key. Should be one Primary Key
196
204
``, if the selected table doesn't have a primary key. Also, you will see the message ``Composite Primary Key is not supported
0 commit comments