FTS4
The virtual table module for the FTS4 full-text engine.
struct FTS4
To create FTS4 tables, use the Database
method create(virtualTable:options:using:_:)
:
// CREATE VIRTUAL TABLE document USING fts4(content)
try db.create(virtualTable: "document", using: FTS4()) { t in
t.column("content")
}
Related SQLite documentation: https://www.sqlite.org/fts3.html
The FTS4 Module
init(
) Creates an FTS4 module.
class FTS4TableDefinition
A
FTS4TableDefinition
lets you define the components of an FTS4 virtual table.class FTS4ColumnDefinition
Describes a column in an
FTS4
virtual table.