fix(tdengine): update the default template and the changelog

This commit is contained in:
firest 2023-07-18 09:08:56 +00:00
parent ab5fd1e5c3
commit 4f4a813f04
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
-define(DEFAULT_SQL, <<
"insert into t_mqtt_msg(ts, msgid, mqtt_topic, qos, payload, arrived) "
"values (${ts}, ${id}, ${topic}, ${qos}, ${payload}, ${timestamp})"
"values (${ts}, '${id}', '${topic}', ${qos}, '${payload}', ${timestamp})"
>>).
%% -------------------------------------------------------------------------------------------------

View File

@ -13,7 +13,7 @@ Fix and improve support for TDEngine `insert` syntax.
`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.
Note: This is a breaking change. Previously the values of string type were quoted automatically, but now they must be quoted explicitly.
For example: