using postgres 9.2 and pg moudle 2.0.0
script like following, the count type is number in 1.1.3, but string in 2.0.0, is it by design?
pgClient.query "SELECT COUNT(*) AS cnt FROM abc;", (err, results) ->
count = results.rows[0].cnt
console.log typeof(count)
pgClient.end()
Thanks
Qiang
using postgres 9.2 and pg moudle 2.0.0
script like following, the count type is number in 1.1.3, but string in 2.0.0, is it by design?
Thanks
Qiang