chore: update changes
This commit is contained in:
parent
749b8cd2ed
commit
66baea2ba0
|
@ -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}')`
|
Loading…
Reference in New Issue