Versions in this module Expand all Collapse all v0 v0.1.1 Nov 7, 2026 v0.1.0 Nov 7, 2026 Changes in this version + var ErrClosed = errors.New("sqlite: database is closed") + var Plugin = New(Options{}) + func LibraryPath() (string, error) + func Load() error + func New(opts Options) mygo.Plugin + type DB struct + func Open(ctx context.Context, path string, opts OpenOptions) (*DB, error) + func (d *DB) Close() error + func (d *DB) Execute(ctx context.Context, sql string, args ...any) (result Result, err error) + func (d *DB) Query(ctx context.Context, sql string, args ...any) (rows Rows, err error) + func (d *DB) Transaction(ctx context.Context, statements []Statement) (results []Result, err error) + type Error struct + Code int + ExtendedCode int + Message string + func (e *Error) Error() string + type OpenOptions struct + BusyTimeout time.Duration + ReadOnly bool + type Options struct + BusyTimeout time.Duration + Directory string + type Result struct + Changes int64 + LastInsertID int64 + type Rows struct + Columns []string + Values [][]any + type Statement struct + Args []any + SQL string