Versions in this module Expand all Collapse all v0 v0.0.2 Feb 25, 2025 v0.0.1 Nov 7, 2024 Changes in this version + type DBQuerier struct + func NewQuerier(conn genericConn) *DBQuerier + func (q *DBQuerier) ParamArrayInt(ctx context.Context, ints []int) ([]int, error) + func (q *DBQuerier) ParamArrayIntBatch(batch genericBatch, ints []int) + func (q *DBQuerier) ParamArrayIntScan(results pgx.BatchResults) ([]int, error) + func (q *DBQuerier) ParamNested1(ctx context.Context, dimensions Dimensions) (Dimensions, error) + func (q *DBQuerier) ParamNested1Batch(batch genericBatch, dimensions Dimensions) + func (q *DBQuerier) ParamNested1Scan(results pgx.BatchResults) (Dimensions, error) + func (q *DBQuerier) ParamNested2(ctx context.Context, image ProductImageType) (ProductImageType, error) + func (q *DBQuerier) ParamNested2Array(ctx context.Context, images []ProductImageType) ([]ProductImageType, error) + func (q *DBQuerier) ParamNested2ArrayBatch(batch genericBatch, images []ProductImageType) + func (q *DBQuerier) ParamNested2ArrayScan(results pgx.BatchResults) ([]ProductImageType, error) + func (q *DBQuerier) ParamNested2Batch(batch genericBatch, image ProductImageType) + func (q *DBQuerier) ParamNested2Scan(results pgx.BatchResults) (ProductImageType, error) + func (q *DBQuerier) ParamNested3(ctx context.Context, imageSet ProductImageSetType) (ProductImageSetType, error) + func (q *DBQuerier) ParamNested3Batch(batch genericBatch, imageSet ProductImageSetType) + func (q *DBQuerier) ParamNested3Scan(results pgx.BatchResults) (ProductImageSetType, error) + type Dimensions struct + Height int + Width int + type ProductImageSetType struct + Images []ProductImageType + Name string + OrigImage ProductImageType + type ProductImageType struct + Dimensions Dimensions + Source string + type Querier interface + ParamArrayInt func(ctx context.Context, ints []int) ([]int, error) + ParamArrayIntBatch func(batch genericBatch, ints []int) + ParamArrayIntScan func(results pgx.BatchResults) ([]int, error) + ParamNested1 func(ctx context.Context, dimensions Dimensions) (Dimensions, error) + ParamNested1Batch func(batch genericBatch, dimensions Dimensions) + ParamNested1Scan func(results pgx.BatchResults) (Dimensions, error) + ParamNested2 func(ctx context.Context, image ProductImageType) (ProductImageType, error) + ParamNested2Array func(ctx context.Context, images []ProductImageType) ([]ProductImageType, error) + ParamNested2ArrayBatch func(batch genericBatch, images []ProductImageType) + ParamNested2ArrayScan func(results pgx.BatchResults) ([]ProductImageType, error) + ParamNested2Batch func(batch genericBatch, image ProductImageType) + ParamNested2Scan func(results pgx.BatchResults) (ProductImageType, error) + ParamNested3 func(ctx context.Context, imageSet ProductImageSetType) (ProductImageSetType, error) + ParamNested3Batch func(batch genericBatch, imageSet ProductImageSetType) + ParamNested3Scan func(results pgx.BatchResults) (ProductImageSetType, error)