Instance Methodgrdb 7.4.0GRDB
column(_:)
Appends a table column.
@discardableResult func column(_ name: String) -> FTS4ColumnDefinition
Parameters
- name
the column name.
Returns
A FTS4ColumnDefinition
that allows you to refine the column definition.
For example:
// CREATE VIRTUAL TABLE document USING fts4(content)
try db.create(virtualTable: "document", using: FTS4()) { t in
t.column("content")
}