Query
Query
yaml
type: "io.kestra.plugin.jdbc.as400.Query"Examples
yaml
id: as400_query
namespace: company.team
tasks:
- id: query
type: io.kestra.plugin.jdbc.as400.Query
url: jdbc:as400://127.0.0.1:50000/
username: "{{ secret('AS400_USERNAME') }}"
password: "{{ secret('AS400_PASSWORD') }}"
sql: select * from as400_types
fetchType: FETCH_ONE
Properties
sql *Requiredstring
url *Requiredstring
afterSQL string
fetchSize integerstring
Default
10000fetchType string
Default
NONEPossible Values
STOREFETCHFETCH_ONENONEparameters object
password string
timeZoneId string
username string
Outputs
row object
rows array
SubTypeobject
size integer
uri string
Format
uriMetrics
fetch.size counter
Unit
rows