Do we have a feature to support unbuffered queries? For example if I have a huge result set and I want to process the result row as soon as it is emitted, do we expose any event handler for that. I tried using client.on('dataRow', function(row){}) but that doesn't really help.
connection = client.connect()
client.query("SELECT * FROM table")
//This doesn't work, and does not throw any error either.
client.on('dataRow', (row) => console.log(row))
Do we have a feature to support unbuffered queries? For example if I have a huge result set and I want to process the result row as soon as it is emitted, do we expose any event handler for that. I tried using client.on('dataRow', function(row){}) but that doesn't really help.