VirtualTableModule
The protocol for SQLite virtual table modules.
protocol VirtualTableModule
Browse conforming typesThe protocol can define a DSL for the create(virtualTable:options:using:_:)
Database
method:
let module = ...
try db.create(virtualTable: "item", using: module) { t in
...
}
GRDB ships with three concrete classes that implement this protocol: FTS3
, FTS4
and FTS5
.