FTS5
FTS5 lets you define fts5
virtual tables.
// CREATE VIRTUAL TABLE document USING fts5(content)
try db.create(virtualTable: "document", using: FTS5()) { t in
t.column("content")
}
-
Options for Latin script characters. Matches the raw
remove_diacritics
tokenizer argument.See https://www.sqlite.org/fts5.html
See more -
Creates a FTS5 module suitable for the Database
create(virtualTable:using:)
method.// CREATE VIRTUAL TABLE document USING fts5(content) try db.create(virtualTable: "document", using: FTS5()) { t in t.column("content") }
-
The virtual table module name
-
Don’t use this method.
-
Don’t use this method.
-
Reserved; part of the VirtualTableModule protocol.
See Database.create(virtualTable:using:)