testNull.js 287 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
const taos = require('../tdengine');
var conn = taos.connect({host: "127.0.0.1", user: "root", password: "taosdata", config: "/etc/taos", port: 6030});
var c1 = conn.cursor();


c1.query('select * from test.weather', true).then(function (result) {
    result.pretty();
});

conn.close();