Memo::Dialect::SQLite
Inherits Memo::Dialect::Base < Reference < Object
Constants
Instance methods
Get the database file path from a connection, if applicable.
SQLite: reads pragma_database_list PostgreSQL: returns nil (no local file)
Drop the tables content-addressed storage replaced (memo_texts and its full-text index).
The column name for embedding row identity used as USearch key.
SQLite: "rowid" (implicit) PostgreSQL: "eid" (explicit column)
memo_contents_fts is an external-content table: rows are keyed by the content's id, and MATCH looks them up without a second copy
Build INSERT OR IGNORE SQL.
Execute an INSERT and return the generated ID.
Databases from before 0.13: add content_id to memo_sources and memo_chunks, which the schema's indexes need. The transaction takes the write lock first (BEGIN IMMEDIATE), so a second process opening the database waits, then finds the columns there.