Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryMany ¶
type QueryMany[T any] struct { Sql string Args []interface{} Postprocessors []func(row *T) (*T, error) ProcessBatchSize int }
func NewQueryMany ¶
type QueryManyOpt ¶
func WithArgs ¶
func WithArgs[T any](args ...interface{}) QueryManyOpt[T]
func WithPostProcessors ¶
func WithPostProcessors[T any](fn ...func(row *T) (*T, error)) QueryManyOpt[T]
func WithProcessBatchSize ¶
func WithProcessBatchSize[T any](size int) QueryManyOpt[T]
type QueryMapResult ¶
type QueryMapResult map[string]interface{}
Click to show internal directories.
Click to hide internal directories.