mod

package
v0.1.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangesCursor

type ChangesCursor struct {
	// contains filtered or unexported fields
}

func (*ChangesCursor) Close

func (c *ChangesCursor) Close() error

func (*ChangesCursor) Column

func (c *ChangesCursor) Column(ctx *sqlite.VirtualTableContext, i int) error

func (*ChangesCursor) Eof

func (c *ChangesCursor) Eof() bool

func (*ChangesCursor) Filter

func (c *ChangesCursor) Filter(_ int, idxStr string, values ...sqlite.Value) error

func (*ChangesCursor) Next

func (c *ChangesCursor) Next() error

func (*ChangesCursor) Rowid

func (c *ChangesCursor) Rowid() (int64, error)

type ChangesModule

type ChangesModule struct{}

func (*ChangesModule) Connect

func (c *ChangesModule) Connect(conn *sqlite.Conn, args []string,
	declare func(string) error) (sqlite.VirtualTable, error)

func (*ChangesModule) Create

func (c *ChangesModule) Create(conn *sqlite.Conn, args []string, declare func(string) error) (sqlite.VirtualTable, error)

type ChangesTable

type ChangesTable struct {
	// contains filtered or unexported fields
}

func (*ChangesTable) BestIndex

func (c *ChangesTable) BestIndex(input *sqlite.IndexInfoInput) (*sqlite.IndexInfoOutput, error)

func (*ChangesTable) Destroy

func (c *ChangesTable) Destroy() error

func (*ChangesTable) Disconnect

func (c *ChangesTable) Disconnect() error

func (*ChangesTable) Open

func (c *ChangesTable) Open() (sqlite.VirtualCursor, error)

type Cursor

type Cursor struct {
	// contains filtered or unexported fields
}

func (*Cursor) Close

func (c *Cursor) Close() error

func (*Cursor) Column

func (c *Cursor) Column(ctx *sqlite.VirtualTableContext, i int) error

func (*Cursor) Eof

func (c *Cursor) Eof() bool

func (*Cursor) Filter

func (c *Cursor) Filter(_ int, idxStr string, values ...sqlite.Value) error

func (*Cursor) Next

func (c *Cursor) Next() error

func (*Cursor) Rowid

func (c *Cursor) Rowid() (int64, error)

type Module

type Module struct{}

func (*Module) Connect

func (c *Module) Connect(conn *sqlite.Conn, args []string,
	declare func(string) error) (sqlite.VirtualTable, error)

func (*Module) Create

func (c *Module) Create(conn *sqlite.Conn, args []string, declare func(string) error) (sqlite.VirtualTable, error)

type VacuumCursor

type VacuumCursor struct {
	// contains filtered or unexported fields
}

func (*VacuumCursor) Close

func (vc *VacuumCursor) Close() error

func (*VacuumCursor) Column

func (vc *VacuumCursor) Column(context *sqlite.VirtualTableContext, i int) error

func (*VacuumCursor) Eof

func (vc *VacuumCursor) Eof() bool

func (*VacuumCursor) Filter

func (vc *VacuumCursor) Filter(_ int, idxStr string, values ...sqlite.Value) error

func (*VacuumCursor) Next

func (vc *VacuumCursor) Next() error

func (*VacuumCursor) Rowid

func (vc *VacuumCursor) Rowid() (int64, error)

type VacuumModule

type VacuumModule struct{}

func (*VacuumModule) BestIndex

func (vm *VacuumModule) BestIndex(input *sqlite.IndexInfoInput) (*sqlite.IndexInfoOutput, error)

func (*VacuumModule) Connect

func (c *VacuumModule) Connect(conn *sqlite.Conn, args []string,
	declare func(string) error) (sqlite.VirtualTable, error)

func (*VacuumModule) Destroy

func (vm *VacuumModule) Destroy() error

func (*VacuumModule) Disconnect

func (vm *VacuumModule) Disconnect() error

func (*VacuumModule) Open

func (vm *VacuumModule) Open() (sqlite.VirtualCursor, error)

type VersionFunc

type VersionFunc struct{}

func (*VersionFunc) Args

func (h *VersionFunc) Args() int

func (*VersionFunc) Deterministic

func (h *VersionFunc) Deterministic() bool

func (*VersionFunc) Final

func (h *VersionFunc) Final(ctx *sqlite.AggregateContext)

func (*VersionFunc) Step

func (h *VersionFunc) Step(ctx *sqlite.AggregateContext, values ...sqlite.Value)

type VersionFuncContext

type VersionFuncContext struct {
	// contains filtered or unexported fields
}

type VirtualTable

type VirtualTable struct {
	// contains filtered or unexported fields
}

func (*VirtualTable) Begin

func (c *VirtualTable) Begin() error

func (*VirtualTable) BestIndex

func (c *VirtualTable) BestIndex(input *sqlite.IndexInfoInput) (*sqlite.IndexInfoOutput, error)

func (*VirtualTable) Commit

func (c *VirtualTable) Commit() error

func (*VirtualTable) Delete

func (c *VirtualTable) Delete(value sqlite.Value) error

func (*VirtualTable) Destroy

func (c *VirtualTable) Destroy() error

func (*VirtualTable) Disconnect

func (c *VirtualTable) Disconnect() error

func (*VirtualTable) Insert

func (c *VirtualTable) Insert(values ...sqlite.Value) (int64, error)

func (*VirtualTable) Open

func (c *VirtualTable) Open() (sqlite.VirtualCursor, error)

func (*VirtualTable) Replace

func (c *VirtualTable) Replace(oldValue, newValue sqlite.Value, values ...sqlite.Value) error

func (*VirtualTable) Rollback

func (c *VirtualTable) Rollback() error

func (*VirtualTable) Update

func (c *VirtualTable) Update(value sqlite.Value, values ...sqlite.Value) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL