FTS5ColumnDefinition
public final class FTS5ColumnDefinition
The FTS5ColumnDefinition class lets you refine a column of an FTS5 virtual table.
You get instances of this class when you create an FTS5 table:
try db.create(virtualTable: "document", using: FTS5()) { t in
t.column("content") // FTS5ColumnDefinition
}
-
Excludes the column from the full-text index.
try db.create(virtualTable: "document", using: FTS5()) { t in t.column("a") t.column("b").notIndexed() }
See https://www.sqlite.org/fts5.html#the_unindexed_column_option
Declaration
Swift
@discardableResult public func notIndexed() -> Self
Return Value
Self so that you can further refine the column definition.