sqlite

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package sqlite provides the production SQLite storage driver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BusyTimeout     int
	MaxOpenConns    int
	MaxIdleConns    int
	ConnMaxIdleTime time.Duration
	CacheSize       int
	MmapSize        int64
	Durability      store.Durability
}

type Driver

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

func Open

func Open(path string, config Config) (*Driver, error)

func (*Driver) Close

func (driver *Driver) Close() error

func (*Driver) DB

func (driver *Driver) DB() *sql.DB

func (*Driver) Dialect

func (driver *Driver) Dialect() store.Dialect

func (*Driver) DriverName

func (driver *Driver) DriverName() string

func (*Driver) SQLiteMaintenanceEnabled

func (driver *Driver) SQLiteMaintenanceEnabled() bool

Jump to

Keyboard shortcuts

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