vertica / vertica-nodejs

Official native node.js client for the Vertica Analytics Database.
https://www.vertica.com/
Apache License 2.0
12 stars 14 forks source link

Provide full prepared query text in response and error object #143

Open mayurbangar opened 5 months ago

mayurbangar commented 5 months ago

When we get response back from the db

client.connect(query, params, (err, res) => { if(err) //This should have a field query which will give us the final prepared query that has caused error })

This will be very helpful to debug and to point out whether the issue is with syntax of query or parametrisation or anything else.