document_calendar_items_fts_trigram Client SQLite virtual table
Substring index over document_calendar_items: the word index's shape with the trigram tokenizer, so a query can match inside words.
Declared in packages/client-sdk/src/data/sqlite/schema/documentCalendarSchema.ts
Columns
titleuntyped- nullable
The item's title, location, and notes, indexed by three-character sequences; the text is read from
document_calendar_items.locationuntyped- nullable
The item's title, location, and notes, indexed by three-character sequences; the text is read from
document_calendar_items.notesuntyped- nullable
The item's title, location, and notes, indexed by three-character sequences; the text is read from
document_calendar_items.
DDL
The statement the client runs to create this index.
CREATE VIRTUAL TABLE IF NOT EXISTS "document_calendar_items_fts_trigram" USING fts5(
title,
location,
notes,
content='document_calendar_items',
content_rowid='calendar_item_rowid',
tokenize='trigram remove_diacritics 1'
);