From 07c2973459feaa63d3cd2ee793491f75846fbefe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 8 Oct 2016 10:03:19 +0200 Subject: [PATCH] Full text and records --- CHANGELOG.md | 2 +- README.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 385999ccb..303122cab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ Release Notes **New** -- `TableMapping.selectsRowID`: this optional static property allows records to fetch their hidden rowID column by default: +- `TableMapping.selectsRowID`: this optional static property allows records to fetch their hidden rowID column by default ([documentation](https://github.com/groue/GRDB.swift/tree/FTS#the-implicit-rowid-primary-key)): ```swift // SELECT *, rowid FROM books diff --git a/README.md b/README.md index 8bc6d0312..c4d8630c0 100644 --- a/README.md +++ b/README.md @@ -3278,6 +3278,10 @@ let books = Book.matching(pattern).fetchAll(db) GRDB does not provide any ranking for FTS3 and FTS4. See SQLite's [Search Application Tips](https://www.sqlite.org/fts3.html#appendix_a) if you really need it. +- **Full-Text Records** + + You can define [record](#records) types around the full-text virtual tables. Since these tables don't have any explicit primary key, you'll need an [extra setup](#the-implicit-rowid-primary-key). + - **[Unicode Full-Text Gotchas](#unicode-full-text-gotchas)** Unicorns don't exist.