Versions in this module Expand all Collapse all v0 v0.1.37 Sep 15, 2026 Changes in this version + var ErrClosed = errors.New("sqlite database is closed") + var ErrWriteErrorHandlerRequired = errors.New("sqlite asynchronous writes require OnWriteError") + var ErrWriteQueueFull = errors.New("sqlite asynchronous write queue is full") + type DB struct + func Open(options Options) (*DB, error) + func (d *DB) Close() error + func (d *DB) ExecAsync(statement string, args ...any) error + func (d *DB) InsertAsync(table string, values map[string]any) error + func (d *DB) InsertTableAsync(table sqlitetable.Table, rows []query.Row) error + func (d *DB) Lease() func() + func (d *DB) Path() string + func (d *DB) ReadDSN() string + func (d *DB) Reader() *sql.DB + func (d *DB) Write(mutation Mutation) error + func (d *DB) WriteAsync(mutation Mutation) error + type Mutation func(*sql.DB) error + type Options struct + OnWriteError func(error) + Path string