[TD-2302]<fix>: fix nodejs exception when query a null value
This commit is contained in:
parent
332cdd34f2
commit
c5cc493312
|
@ -0,0 +1,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();
|
Loading…
Reference in New Issue