FTS4

public struct FTS4 : VirtualTableModule

FTS4 lets you define fts4 virtual tables.

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

See https://www.sqlite.org/fts3.html

  • Creates a FTS4 module suitable for the Database create(virtualTable:using:) method.

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

    See https://www.sqlite.org/fts3.html

    Declaration

    Swift

    public init()