sqlite

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func Open

func Open(path string) (*Adapter, error)

func (*Adapter) Close

func (a *Adapter) Close() error

func (*Adapter) Columns added in v0.6.0

func (a *Adapter) Columns(ctx context.Context, tableName string) ([]string, error)

func (*Adapter) Query

func (a *Adapter) Query(ctx context.Context, query string) (db.QueryResult, error)

func (*Adapter) QuoteIdentifier added in v0.5.1

func (a *Adapter) QuoteIdentifier(name string) string

func (*Adapter) Schema

func (a *Adapter) Schema(ctx context.Context) (string, error)

func (*Adapter) Tables

func (a *Adapter) Tables(ctx context.Context) ([]string, error)

func (*Adapter) Type

func (a *Adapter) Type() string

Jump to

Keyboard shortcuts

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