Open anna-geller opened 2 months ago
Advantage vs Pebble ?
-> less verbose (because one would have to use a "long" outputs.task.some_value
or inputs.value
)
-> 🤔 ?
INSERT INTO myusers (name, email, login)
VALUES ({{inputs.name}}, {{inputs.email}}, {{inputs.login}})
ON CONFLICT ({{inputs.email}}) DO NOTHING
Advantage vs Pebble ?
Avoid SQL injection!
We want to support parameter binding in SQL Query tasks. This is an optional property, so it is not a breaking change.
map
:parameterName
.Example flow:
Similar parameters map will be needed on the
Trigger
https://kestra.io/plugins/plugin-jdbc-postgres/triggers/io.kestra.plugin.jdbc.postgresql.triggerTODOs:
Query
tasksTrigger
triggers