From 45e2819694e9468a0354bb852e0d7a2f4e8e2ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 11 Oct 2016 09:04:53 +0200 Subject: [PATCH] Documentation --- Documentation/FTS5Tokenizers.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/FTS5Tokenizers.md b/Documentation/FTS5Tokenizers.md index a010e0072..70aadbe11 100644 --- a/Documentation/FTS5Tokenizers.md +++ b/Documentation/FTS5Tokenizers.md @@ -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