Skip to content

Expose Column Metadata on PostgresRowSequence #576

@SteveLauC

Description

@SteveLauC

Hey, thanks for providing and maintaining this lib!

I would like to know how to get the column names of a query result. I do take a look at the doc, but it looks like this is not covered.

Reading the code, both PostgresRowSequence and PreparedQuery store column metadata:

let columns: [RowDescription.Column]

but the fields are private, and there are no public interfaces that can be used to get the information.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions