diff --git a/changes/ee/fix-11266.en.md b/changes/ee/fix-11266.en.md new file mode 100644 index 000000000..5726f95ed --- /dev/null +++ b/changes/ee/fix-11266.en.md @@ -0,0 +1,20 @@ +Fix and improve supports for TDEngine `insert` syntax. + +1. Support inserting into multi-table in the template + + For example: + + `insert into table_1 values (${ts}, '${id}', '${topic}') + table_2 values (${ts}, '${id}', '${topic}')` + +2. Support mixing prefixes/suffixes and placeholders in the template + + For example: + + `insert into table_${topic} values (${ts}, '${id}', '${topic}')` + +Note: This is a breaking change, at the former, the string-type values are automatically quoted, bu now, you should manually quote them. + +For example: + +`insert into table values (${ts}, '${a_string}')`