TODO future support for SQLite 3.27.0

This commit is contained in:
Gwendal Roué committed 2019-02-08 07:55:07 +01:00
1 parent 3029949731
commit b8a2592737
1 file changed
+1
+1
View File
@@ -100,6 +100,7 @@
/// See https://www.sqlite.org/fts5.html#unicode61_tokenizer
public static func unicode61(removeDiacritics: Bool = true, separators: Set<Character> = [], tokenCharacters: Set<Character> = []) -> FTS5TokenizerDescriptor {
var components: [String] = ["unicode61"]
// TODO: Support for remove_diacritics=2 (SQLite 3.27.0)
if !removeDiacritics {
components.append(contentsOf: ["remove_diacritics", "0"])
}