Versions in this module Expand all Collapse all v3 v3.0.0 May 6, 2026 Changes in this version + const QuantizationBinary + const QuantizationFloat32 + const QuantizationInt8 + func CheckSQLiteReady() error + func CheckSQLiteReadyContext(ctx context.Context) error + func CosineScoreFromDistance(distance float64) float64 + func DecodeVectorBlob(blob []byte) ([]float64, error) + func DecodeVectorBlobBinary(blob []byte) ([]float64, error) + func DecodeVectorBlobInt8(blob []byte) ([]float64, error) + func EncodeVectorBlob(vector []float64) ([]byte, error) + func EncodeVectorBlobBinary(vector []float64) ([]byte, error) + func EncodeVectorBlobInt8(vector []float64) ([]byte, error) + func IsMissingIndex(err error) bool + func MissingIndexPath(err error) string + func OpenReadOnly(path string) (*sql.DB, error) + func OpenReadOnlyContext(ctx context.Context, path string) (*sql.DB, error) + func OpenReadOnlyContextWithOptions(ctx context.Context, path string, opts SQLiteOptions) (*sql.DB, error) + func OpenReadOnlyWithOptions(path string, opts SQLiteOptions) (*sql.DB, error) + func OpenReadWrite(path string) (*sql.DB, error) + func OpenReadWriteContext(ctx context.Context, path string) (*sql.DB, error) + func OpenReadWriteContextWithOptions(ctx context.Context, path string, opts SQLiteOptions) (*sql.DB, error) + func OpenReadWriteWithOptions(path string, opts SQLiteOptions) (*sql.DB, error) + type MissingIndexError struct + Path string + func (e *MissingIndexError) Error() string + type SQLiteJournalMode string + const SQLiteJournalModeDefault + const SQLiteJournalModeDelete + const SQLiteJournalModeMemory + const SQLiteJournalModeOff + const SQLiteJournalModePersist + const SQLiteJournalModeTruncate + const SQLiteJournalModeWAL + type SQLiteOptions struct + BusyTimeout *time.Duration + CacheSizePages int + JournalMode SQLiteJournalMode + MmapSizeBytes int64 + TempStore SQLiteTempStore + type SQLiteTempStore int + const SQLiteTempStoreDefault + const SQLiteTempStoreFile + const SQLiteTempStoreMemory Other modules containing this package github.com/dusk-network/stroma github.com/dusk-network/stroma/v2