Versions in this module Expand all Collapse all v0 v0.3.2 Jul 18, 2026 v0.3.1 Jul 18, 2026 Changes in this version + const IndexScanUnique + var ErrNotImplemented = errors.New("vtab: RegisterModule not wired into engine") + func RegisterModule(db *sql.DB, name string, m Module) error + func SetRegisterFunc(fn func(name string, m Module) error) + type Constraint struct + ArgIndex int + Column int + Omit bool + Op ConstraintOp + Usable bool + type ConstraintOp int + const OpEQ + const OpFUNCTION + const OpGE + const OpGLOB + const OpGT + const OpIS + const OpISNOT + const OpISNOTNULL + const OpISNULL + const OpLE + const OpLIKE + const OpLIMIT + const OpLT + const OpMATCH + const OpNE + const OpOFFSET + const OpREGEXP + const OpUnknown + type Context struct + func NewContext(declare func(string) error) Context + func NewContextWithConfig(declare func(string) error, constraintSupport func() error, ...) Context + func NewContextWithConstraintSupport(declare func(string) error, constraintSupport func() error) Context + func (c Context) Config(op int32, args ...int32) error + func (c Context) Declare(schema string) error + func (c Context) EnableConstraintSupport() error + type Cursor interface + Close func() error + Column func(col int) (Value, error) + Eof func() bool + Filter func(idxNum int, idxStr string, vals []Value) error + Next func() error + Rowid func() (int64, error) + type IndexInfo struct + ColUsed uint64 + Constraints []Constraint + EstimatedCost float64 + EstimatedRows int64 + IdxFlags int + IdxNum int64 + IdxStr string + OrderBy []OrderBy + OrderByConsumed bool + type Module interface + Connect func(ctx Context, args []string) (Table, error) + Create func(ctx Context, args []string) (Table, error) + type OrderBy struct + Column int + Desc bool + type Renamer interface + Rename func(newName string) error + type Table interface + BestIndex func(info *IndexInfo) error + Destroy func() error + Disconnect func() error + Open func() (Cursor, error) + type Transactional interface + Begin func() error + Commit func() error + Release func(i int) error + Rollback func() error + RollbackTo func(i int) error + Savepoint func(i int) error + Sync func() error + type Updater interface + Delete func(oldRowid int64) error + Insert func(cols []Value, rowid *int64) error + Update func(oldRowid int64, cols []Value, newRowid *int64) error + type Value = driver.Value + type VolatileArgsOpter interface + VolatileArgs func() bool