FTS5

The virtual table module for the FTS5 full-text engine.

FTS5.swift:51
struct FTS5

To create FTS5 tables, use the Database method create(virtualTable:options:using:_:):

// CREATE VIRTUAL TABLE document USING fts5(content)
try db.create(virtualTable: "document", using: FTS5()) { t in
    t.column("content")
}

Related SQLite documentation: https://www.sqlite.org/fts5.html

The FTS5 Module

Full-Text Search Pattern

FTS5 Tokenizers

Low-Level FTS5 Customization