[TD-1001] update the nodejs examples
This commit is contained in:
parent
ef878e71ee
commit
e9738fc6c6
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
// 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
|
||||
* connection to the variable conn
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* This example is to show the preferred way to use the td-connector */
|
||||
/* To run, enter node path/to/node-example.js */
|
||||
// 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
|
||||
* connection to the variable conn
|
||||
|
|
Loading…
Reference in New Issue