From ec34261674eebf2176ca8c0aad0fcaa11906a999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 7 Oct 2016 08:35:43 +0200 Subject: [PATCH] FTS documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6085e7fd2..ce642cf53 100644 --- a/README.md +++ b/README.md @@ -3229,7 +3229,7 @@ let pattern = try FTS3Pattern(rawPattern: "sqlite AND database") let pattern = try FTS3Pattern(rawPattern: "AND") ``` -The three other initializers don't throw. They build a valid pattern from any string, including strings provided by users of your application. They let you find documents that match all given words, any given word, or a full phrase, depending on the needs of your application: +The three other initializers don't throw. They build a valid pattern from any string, **including strings provided by users of your application**. They let you find documents that match all given words, any given word, or a full phrase, depending on the needs of your application: ```swift let query = "SQLite database" @@ -3421,7 +3421,7 @@ try db.fts5Pattern(rawPattern: "AND", forTable: "books") try db.fts5Pattern(rawPattern: "missing: sqlite", forTable: "books") ``` -The FTS5Pattern initializers don't throw. They build a valid pattern from any string, including strings provided by users of your application. They let you find documents that match all given words, any given word, or a full phrase, depending on the needs of your application: +The FTS5Pattern initializers don't throw. They build a valid pattern from any string, **including strings provided by users of your application**. They let you find documents that match all given words, any given word, or a full phrase, depending on the needs of your application: ```swift let query = "SQLite database"