Skip to content

Idea: Add RowDescription to SimpleQueryMessage #1143

Closed
@rigby-dane

Description

@rigby-dane

Currently when processing the SimpleQueryMessage, if there are no DataRows coming from postgres the column data is inaccessible since the data is embedded in the SimpleQueryRow. In particular, this makes it difficult if you're displaying user submitted or dynamic query results where being able to determine the columns from the query after it's been sent to the server would be useful. Adding an enum value of RowDescription(Arc<[SimpleColumn]>) would alleviate this since you could separately process the columns even without a DataRow being returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions