Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2026 Changes in this version + var ErrInvalidRequest = errors.New("invalid request") + type Filter struct + Column string + Negate bool + Op string + Values []string + type ListRequest struct + Filters []Filter + Limit int + Offset int + Order []Order + Select []string + func ParseListRequest(rawQuery string) (ListRequest, error) + func (r ListRequest) LimitSet() bool + type Nulls int + const NullsDefault + const NullsFirst + const NullsLast + type Order struct + Column string + Desc bool + Nulls Nulls + type Statement struct + Args []any + SQL string + func BuildDelete(table *schema.Table, key schema.Column, pk string) Statement + func BuildInsert(table *schema.Table, row map[string]any) (Statement, error) + func BuildSelect(table *schema.Table, req ListRequest, maxPageSize int) (Statement, error) + func BuildSelectByPK(table *schema.Table, key schema.Column, pk string) Statement + func BuildUpdate(table *schema.Table, key schema.Column, pk string, row map[string]any) (Statement, error)