node-pg-query
node-pg-query copied to clipboard
query.client's callback
Hi Brian,
I have some questions and comments from my beginning usage of the client object in node-postgres. The function query.client can contain an optional callback function function callback(object error, object result). As mentioned in the document, the callback function is not recommended for buffering large result set. I just wonder if it is possible to decouple the error handling from the rows buffering. Does the issue of large result set prevent me from providing the error handling for database query ?
Thanks,