Versions in this module Expand all Collapse all v1 v1.6.32 Mar 10, 2025 Changes in this version type SQLite + func (db *SQLite) PurgeOlderThan(ctx context.Context, prefix string, purgeBefore time.Time, ...) (int, error) v1.6.31 Mar 7, 2025 Changes in this version + var ErrQueryTimeout = errors.New("query timeout") + type SQLite struct + func NewSQLite(name, location string) (*SQLite, error) + func (db *SQLite) Delete(key string) error + func (db *SQLite) Get(key string) (record.Record, error) + func (db *SQLite) GetMeta(key string) (*record.Meta, error) + func (db *SQLite) Injected() bool + func (db *SQLite) Maintain(ctx context.Context) error + func (db *SQLite) MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time, shadowDelete bool) error + func (db *SQLite) MaintainThorough(ctx context.Context) error + func (db *SQLite) Purge(ctx context.Context, q *query.Query, local, internal, shadowDelete bool) (int, error) + func (db *SQLite) Put(r record.Record) (record.Record, error) + func (db *SQLite) PutMany(shadowDelete bool) (chan<- record.Record, <-chan error) + func (db *SQLite) Query(q *query.Query, local, internal bool) (*iterator.Iterator, error) + func (db *SQLite) ReadOnly() bool + func (db *SQLite) Shutdown() error