Versions in this module Expand all Collapse all v0 v0.0.1 Dec 17, 2023 Changes in this version + const NoRowsMsg + var ErrNoRows = errors.Wrap(sql.ErrNoRows, NoRowsMsg) + type Querier interface + Exec func(context.Context, string, ...any) (Result, error) + Query func(context.Context, string, ...any) (Rows, error) + QueryRow func(context.Context, string, ...any) Row + type Result interface + RowsAffected func() int + type Row interface + Scan func(...any) error + type Rows interface + Close func() + Err func() error + Next func() bool + Scan func(...any) error + type RowsIterator struct + func NewRowsIterator[T any](ctx context.Context, rows Rows, scan func(Rows) (T, error)) *RowsIterator[T] + func (i *RowsIterator[T]) Close() + func (i *RowsIterator[T]) Err() error + func (i *RowsIterator[T]) Next() (T, error) + func (i *RowsIterator[T]) Scan() (T, error) + type Store interface + Begin func(ctx context.Context, opts ...T) (Tx, error) + type Tx interface + Commit func(context.Context) error + Rollback func(context.Context) error