Skip to content

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

@mayurbangar

Description

@mayurbangar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions