Skip to content

Commit

Permalink
feat(jdbc): Add a default value to the Return results parameter (#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnBgood committed Apr 25, 2024
1 parent fc6eb14 commit 8ac2e90
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@
"label" : "Return results",
"description" : "Check this box if the SQL statement return results, e.g. a SELECT or any statement with a RETURNING clause",
"optional" : false,
"value" : false,
"group" : "query",
"binding" : {
"name" : "data.returnResults",
Expand All @@ -258,7 +259,7 @@
}, {
"id" : "data.variables",
"label" : "SQL Query variables",
"description" : "The variables to use in the SQL query. Could be a list of values (if you used the positional (?) syntax), or a map of names to values (if you used named (:myValue) parameters).",
"description" : "The <a href=\"https://docs.camunda.io/docs/next/components/connectors/out-of-the-box-connectors/sql/#variables\" target=\"_blank\">variables</a> to use in the SQL query.",
"optional" : true,
"feel" : "required",
"group" : "query",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
"label" : "Return results",
"description" : "Check this box if the SQL statement return results, e.g. a SELECT or any statement with a RETURNING clause",
"optional" : false,
"value" : false,
"group" : "query",
"binding" : {
"name" : "data.returnResults",
Expand All @@ -253,7 +254,7 @@
}, {
"id" : "data.variables",
"label" : "SQL Query variables",
"description" : "The variables to use in the SQL query. Could be a list of values (if you used the positional (?) syntax), or a map of names to values (if you used named (:myValue) parameters).",
"description" : "The <a href=\"https://docs.camunda.io/docs/next/components/connectors/out-of-the-box-connectors/sql/#variables\" target=\"_blank\">variables</a> to use in the SQL query.",
"optional" : true,
"feel" : "required",
"group" : "query",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public record JdbcRequestData(
id = "returnResults",
label = "Return results",
feel = Property.FeelMode.disabled,
defaultValue = "false",
defaultValueType = TemplateProperty.DefaultValueType.Boolean,
group = "query",
type = TemplateProperty.PropertyType.Boolean,
description =
Expand Down

0 comments on commit 8ac2e90

Please sign in to comment.