Versions in this module Expand all Collapse all v5 v5.0.1 Jul 28, 2026 Changes in this version + var ErrDecrypt = errors.New("sqlite: decryption failed (wrong passphrase or corrupted/tampered data)") + type DB struct + func Open(parseCtx context.Context, parseOptions Options) (*DB, error) + func (parseDB *DB) Begin(parseCtx context.Context) (*sql.Tx, error) + func (parseDB *DB) Close() error + func (parseDB *DB) Exec(parseCtx context.Context, parseSQL string, parseArgs ...any) (sql.Result, error) + func (parseDB *DB) Flush(parseCtx context.Context) error + func (parseDB *DB) Query(parseCtx context.Context, parseSQL string, parseArgs ...any) (*sql.Rows, error) + func (parseDB *DB) QueryRow(parseCtx context.Context, parseSQL string, parseArgs ...any) *sql.Row + func (parseDB *DB) Tx(parseCtx context.Context, parseFn func(*sql.Tx) error) (parseErr error) + type Encryptor interface + Open func(parseBlob []byte) ([]byte, error) + Seal func(parsePlaintext []byte) ([]byte, error) + func NewPassphraseEncryptor(parsePassphrase string, parseIterations int) Encryptor + type Options struct + Encryptor Encryptor + FlushDebounce time.Duration + Name string + Persistence Persistence + Pragmas map[string]string + type Persistence int + const IndexedDB + const Memory + const OPFS + func (parseP Persistence) String() string Other modules containing this package github.com/monstercameron/GoWebComponents/v4