I would like to know how can you check the row count of the query in PostgreSQL in node.js
I have this code for the meantime.
var client = new pg.Client(conString);
client.connect();
var query = client.query("SELECT * FROM users");
query.on('row', function(row) {
console.log(row);
});
以上就是Check how many rows retrieved in PostgreSQL (node.js)的详细内容,更多请关注web前端其它相关文章!