Queries
Queries
yaml
type: "io.kestra.plugin.jdbc.db2.Queries"Examples
yaml
id: db2_query
namespace: company.team
tasks:
- id: queries
type: io.kestra.plugin.jdbc.db2.Queries
url: jdbc:db2://127.0.0.1:50000/
username: "{{ secret('DB2_USERNAME') }}"
password: "{{ secret('DB2_PASSWORD') }}"
sql: select * from employee; select * from laptop;
fetchType: FETCH
Properties
sql *Requiredstring
url *Requiredstring
afterSQL string
fetchSize integerstring
Default
10000fetchType string
Default
NONEPossible Values
STOREFETCHFETCH_ONENONEparameters object
password string
timeZoneId string
transaction booleanstring
Default
trueusername string
Outputs
outputs array
Definitions
io.kestra.plugin.jdbc.AbstractJdbcBaseQuery-Output
rowobject
rowsarray
SubTypeobject
sizeinteger
uristring
Format
uriMetrics
fetch.size counter
Unit
rows