Versions in this module Expand all Collapse all v0 v0.3.0 Aug 28, 2026 Changes in this version + func Delete(ctx context.Context, tx *database.Tx, del operation.GuardedDelete) error + func List[T any](ctx context.Context, s database.Session, p operation.Projection, ...) ([]T, int, error) + func One[T any](ctx context.Context, s database.Session, p operation.Projection, field string, ...) (T, error) + func Query[T any](ctx context.Context, s database.Session, stmt ast.SQL, scan Scan[T]) ([]T, error) + func Update(ctx context.Context, tx *database.Tx, u operation.GuardedUpdate) (int64, error) + type Identity struct + ID string + Version int64 + func Insert(ctx context.Context, tx *database.Tx, i operation.Insertion) (Identity, error) + type Scan func(*sql.Rows) (T, error)