mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Full text and records
This commit is contained in:
1 parent
2bc8722049
commit
07c2973459
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user