Merge pull request #2826 from taosdata/feature/pyconn

[TD-1001] update the nodejs examples
This commit is contained in:
Shengliang Guan 2020-07-31 15:27:10 +08:00 committed by GitHub
commit b8e3d9e8c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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