michaelwittig/node-q

null for time type

Closed this issue · 2 comments

Hi, I want to insert data from node-q to kdb table. One of the columns in the table is of type time. How can I insert a null (0Nt) value in time column?

you can either use a string like shown here:

con.k("sum 1 2 3", function(err, res) {
    if (err) throw err;
    console.log("result", res); // 6
});

or you can use the typed API as documented here: https://github.com/michaelwittig/node-q#types

if you can share the code you have at the moment this would help

thanks for you help