func NewQuerier(conn genericConn) *DBQuerier {
	return NewQuerierConfig(conn, QuerierConfig{})
}
NewQuerier creates a DBQuerier that implements Querier. conn is typically
*pgx.Conn, pgx.Tx, or *pgxpool.Pool.
package pg
import (
	"context"
	"fmt"
	"github.com/jackc/pgconn"
	"github.com/jackc/pgtype"
	"github.com/jackc/pgx/v4"
)
type Querier interface {
	FindEnumTypes(ctx context.Context, oids []uint32) ([]FindEnumTypesRow, error)
	FindEnumTypesBatch(batch genericBatch, oids []uint32)
	FindEnumTypesScan(results pgx.BatchResults) ([]FindEnumTypesRow, error)
	FindArrayTypes(ctx context.Context, oids []uint32) ([]FindArrayTypesRow, error)
	FindArrayTypesBatch(batch genericBatch, oids []uint32)
	FindArrayTypesScan(results pgx.BatchResults) ([]FindArrayTypesRow, error)
	FindCompositeTypes(ctx context.Context, oids []uint32) ([]FindCompositeTypesRow, error)
	FindCompositeTypesBatch(batch genericBatch, oids []uint32)
	FindCompositeTypesScan(results pgx.BatchResults) ([]FindCompositeTypesRow, error)
	FindDescendantOIDs(ctx context.Context, oids []uint32) ([]pgtype.OID, error)
	FindDescendantOIDsBatch(batch genericBatch, oids []uint32)
	FindDescendantOIDsScan(results pgx.BatchResults) ([]pgtype.OID, error)
	FindOIDByName(ctx context.Context, name string) (pgtype.OID, error)
	FindOIDByNameBatch(batch genericBatch, name string)
	FindOIDByNameScan(results pgx.BatchResults) (pgtype.OID, error)
	FindOIDName(ctx context.Context, oid pgtype.OID) (pgtype.Name, error)
	FindOIDNameBatch(batch genericBatch, oid pgtype.OID)
	FindOIDNameScan(results pgx.BatchResults) (pgtype.Name, error)
	FindOIDNames(ctx context.Context, oid []uint32) ([]FindOIDNamesRow, error)
	FindOIDNamesBatch(batch genericBatch, oid []uint32)
	FindOIDNamesScan(results pgx.BatchResults) ([]FindOIDNamesRow, error)
}
type DBQuerier struct {
	conn  genericConn    
	types *typeResolver  
}
var _ Querier = &DBQuerier{}
type genericConn interface {
	Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
	QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
	Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
}
type genericBatch interface {
	Queue(query string, arguments ...interface{})
}