Skip to content

rowMode = 'array' apparently provides no way of getting column names #3167

Open
@neilmiddleton

Description

@neilmiddleton

We were experimenting with node-postgres and found that columns were lost in the result set if they had the same name, because of how JSON works.

However, after switching to array we don't apparently have any way of knowing the column names. Is there a way of doing this or is this a shortfall?

(for context, in this scenario, we don't know the query we're running)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions