mod

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 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

Jump to

Keyboard shortcuts

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