Versions in this module Expand all Collapse all v1 v1.0.0 Feb 5, 2026 Changes in this version + func Maintain(ctx context.Context, db *sql.DB, options ...maintenanceOption) error + func Open(driverName string, dataSourceName string, preemptive ...string) (*sql.DB, error) + func OpenMemory(driverName string, options ...option) (*sql.DB, error) + func OpenReadOnly(driverName string, filePath string, options ...option) (*sql.DB, error) + func OpenReadWrite(driverName string, filePath string, options ...option) (*sql.DB, error) + func WithBusyTimeout(timeout time.Duration) option + func WithCacheSizeKiB(size uint64) option + func WithCheckpointPeriod(period time.Duration) maintenanceOption + func WithLogger(logger *slog.Logger) maintenanceOption + func WithMemoryMapSize(size uint64) option + func WithOptimizePeriod(period time.Duration) maintenanceOption + func WithPragma(name, value string) option + func WithWALAutoCheckpoint(pages uint64) option