Versions in this module Expand all Collapse all v0 v0.0.13 May 7, 2026 v0.0.12 May 3, 2026 Changes in this version + type Option func(*options) + func WithAutoHitCounting(enabled bool) Option + func WithConfiguredScopes(scopes []store.Scope) Option + type SQLiteStore struct + func New(path string, logger *slog.Logger, opts ...Option) (*SQLiteStore, error) + func (s *SQLiteStore) All(scopes []store.Scope) ([]store.Entry, error) + func (s *SQLiteStore) AllByCategory(category string, topK int, scopes []store.Scope) ([]store.Entry, error) + func (s *SQLiteStore) Close() error + func (s *SQLiteStore) Delete(id string) error + func (s *SQLiteStore) Get(id string) (*store.Entry, error) + func (s *SQLiteStore) ListHeads(scopes []store.Scope) ([]store.HeadInfo, error) + func (s *SQLiteStore) Promote(id string, targetScope store.Scope) error + func (s *SQLiteStore) Query(category string, tags []string) ([]store.Entry, error) + func (s *SQLiteStore) QueryByCategory(category, query string, topK int, scopes []store.Scope) ([]store.Entry, error) + func (s *SQLiteStore) Score(id string, delta float64) error + func (s *SQLiteStore) Upsert(entry *store.Entry) error