Skip to content

Commit

Permalink
Introduce typeResolver for choosing ValueTranscoders
Browse files Browse the repository at this point in the history
Allows overriding the ValueTranscoder used by type name with NewQuerierConfig.
We can't use the native RegisterDataType because Querier works with pgx.Conn,
or pgxpool.Pool which both have query methods but don't both share ConnInfo.

- Upgrade pgtype for jackc/pgx#874.

Relates to #29 in that it lays the ground work for customizing types.
  • Loading branch information
jschaf committed Apr 26, 2021
1 parent ddb0c0b commit 0056cfb
Show file tree
Hide file tree
Showing 38 changed files with 2,694 additions and 603 deletions.
85 changes: 81 additions & 4 deletions example/author/query.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0056cfb

Please sign in to comment.