You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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))
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: