sqlite

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func Open

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

func OpenWithOptions

func OpenWithOptions(path string, options Options) (*DB, error)

func (*DB) Checkpoint

func (db *DB) Checkpoint(ctx context.Context) error

func (*DB) Close

func (db *DB) Close() error

func (*DB) Ping

func (db *DB) Ping(ctx context.Context) error

func (*DB) Ready added in v0.1.1

func (db *DB) Ready(context.Context) error

func (*DB) SQLDB

func (db *DB) SQLDB() *sql.DB

type Options

type Options struct {
	WALEnabled               bool
	BusyTimeout              time.Duration
	Synchronous              string
	CheckpointAfterIngestion bool
}

func DefaultOptions

func DefaultOptions(path string) Options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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