Versions in this module Expand all Collapse all v1 v1.0.2 Apr 21, 2026 v1.0.1 Apr 21, 2026 Changes in this version + var ErrColumnNotFound = errors.New("column not found") + var ErrRowNotFound = errors.New("row not found") + type AggregateResult struct + type Condition struct + Column string + Op string + Value string + type Query struct + func New(path string) *Query + func (q *Query) Find(cond Condition) ([][]string, error) + func (q *Query) FindAll(conds ...Condition) *Result + func (q *Query) FindIn(column string, values []string) ([][]string, error) + func (q *Query) FindNotIn(column string, values []string) ([][]string, error) + type Result struct + func (r *Result) Avg(column string) (float64, error) + func (r *Result) Count() (int, error) + func (r *Result) Exists() (bool, error) + func (r *Result) First() ([]string, error) + func (r *Result) Get() ([][]string, error) + func (r *Result) Limit(n int) *Result + func (r *Result) Max(column string) (string, error) + func (r *Result) MaxFloat(column string) (float64, error) + func (r *Result) Min(column string) (string, error) + func (r *Result) MinFloat(column string) (float64, error) + func (r *Result) Offset(n int) *Result + func (r *Result) OrderBy(column, order string) *Result + func (r *Result) Select(columns ...string) *Result + func (r *Result) Sum(column string) (float64, error) + func (r *Result) ThenBy(column, order string) *Result