Documentation

This commit is contained in:
Gwendal Roué committed 2016-10-11 09:04:53 +02:00
1 parent 0187a0cace
commit 45e2819694
1 file changed
+4 -1
+4 -1
View File
@@ -239,15 +239,18 @@ Arguments are provided when the virtual table is created:
```swift
// CREATE VIRTUAL TABLE documents USING fts5(
// tokenize='custom'
// tokenize='custom',
// content
// )
try db.create(virtualTable: "documents", using: FTS5()) { t in
// Wraps the default unicode61
t.tokenizer = MyTokenizer.tokenizerDescriptor()
t.column("content")
}
// CREATE VIRTUAL TABLE documents USING fts5(
// tokenize='custom ascii'
// content
// )
try db.create(virtualTable: "documents", using: FTS5()) { t in
// Wraps ascii