Skip to content

Thoughts on using with pgx #3

@dolzenko

Description

@dolzenko

Again, thanks for sharing this 💟, I like the API very much and it would allow us to save quite a few lines of code, but the problem I found is that it's slightly incompatible with pgx driver in native mode. And the pgx docs claim it's faster and more featureful in native mode https://github.com/jackc/pgx/wiki/Getting-started-with-pgx-through-database-sql . I was able to adapt the code quickly (it's nothing more than a QueryContext > Query change and Columns > FieldDescriptions [0]) but I was thinking if you probably will be interested in incorporating support somehow upstream (especially given pgx driver seems quite popular way to connect to Postgres).

[0] https://gist.github.com/dolzenko/7edf82537d4ded509c251e81b85512b4

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