Using queryAsync() of mapd-connector I’m trying to get the count of rows of a table but I am not getting the result.
Query: SELECT COUNT(*) AS n FROM flights_2008_7M LIMIT 1
const count_n = Number(results.n);
const count_n = results.n.valueOf()
The former is generally preferred as it would work universally for all returned numeric types (as long as the returned value can be represented by 64-bit floating pt)