Versions in this module Expand all Collapse all v0 v0.0.2 Jul 17, 2026 Changes in this version + var ErrNoRows = fmt.Err("no", "rows") + func ScanAny(v any, dest any) error + type Action int + const ActionCreate + const ActionDelete + const ActionReadAll + const ActionReadOne + const ActionUpdate + type Compiler interface + Compile func(q Query, m model.Model) (Plan, error) + type Condition struct + func Eq(field string, value any) Condition + func Gt(field string, value any) Condition + func Gte(field string, value any) Condition + func In(field string, value any) Condition + func IsNotNull(field string) Condition + func Like(field string, value any) Condition + func Lt(field string, value any) Condition + func Lte(field string, value any) Condition + func Neq(field string, value any) Condition + func Or(c Condition) Condition + func (c Condition) Field() string + func (c Condition) Logic() string + func (c Condition) Operator() string + func (c Condition) Value() any + type Conn interface + type Executor interface + Close func() error + Exec func(query string, args ...any) error + Query func(query string, args ...any) (Rows, error) + QueryRow func(query string, args ...any) Scanner + type Order struct + func Asc(column string) Order + func Desc(column string) Order + func (o Order) Column() string + func (o Order) Dir() string + type Plan struct + Args []any + Mode Action + Query string + type Query struct + Action Action + Columns []string + Conditions []Condition + GroupBy []string + Limit int + Offset int + OrderBy []Order + Table string + Values []any + type Rows interface + Close func() error + Columns func() ([]string, error) + Err func() error + Next func() bool + Scan func(dest ...any) error + type Scanner interface + Scan func(dest ...any) error + type TxBoundExecutor interface + Commit func() error + Rollback func() error + type TxExecutor interface + BeginTx func() (TxBoundExecutor, error)