Skip to content

Commit

Permalink
Remove reference to NewQuerierConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jschaf committed Jan 3, 2024
1 parent c25070d commit 94bd6b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/codegen/golang/query.gotemplate
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ func (q *DBQuerier) {{ $q.Name }}(ctx context.Context {{- $q.EmitParams }}) ({{
// textPreferrer wraps a pgtype.ValueTranscoder and sets the preferred encoding
// format to text instead binary (the default). pggen uses the text format
// when the OID is unknownOID because the binary format requires the OID.
// Typically occurs if the results from QueryAllDataTypes aren't passed to
// NewQuerierConfig.
// Typically occurs for unregistered types.
type textPreferrer struct {
pgtype.ValueTranscoder
typeName string
Expand Down

0 comments on commit 94bd6b5

Please sign in to comment.