提交 e9738fc6 编写于 作者: L liu0x54

[TD-1001] update the nodejs examples

上级 ef878e71
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
*/ */
// Get the td-connector package // Get the td-connector package
const taos = require('td-connector'); const taos = require('td2.0-connector');
/* We will connect to TDengine by passing an object comprised of connection options to taos.connect and store the /* We will connect to TDengine by passing an object comprised of connection options to taos.connect and store the
* connection to the variable conn * connection to the variable conn
......
/* This example is to show the preferred way to use the td-connector */ /* This example is to show the preferred way to use the td-connector */
/* To run, enter node path/to/node-example.js */ /* To run, enter node path/to/node-example.js */
// Get the td-connector package // Get the td-connector package
const taos = require('td-connector'); const taos = require('td2.0-connector');
/* We will connect to TDengine by passing an object comprised of connection options to taos.connect and store the /* We will connect to TDengine by passing an object comprised of connection options to taos.connect and store the
* connection to the variable conn * connection to the variable conn
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册