mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Documentation and changelog
This commit is contained in:
1 parent
1da85dff58
commit
830e6acb4f
2 files changed
+10
No files matched your search
@@ -1,6 +1,14 @@
|
||||
Release Notes
|
||||
=============
|
||||
|
||||
## Next Version
|
||||
|
||||
**New**
|
||||
|
||||
- Upgrade custom SQLite builds to [v3.22.0](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
|
||||
- The FTS5 full-text search engine has been enhanced with [initial token querie](https://sqlite.org/fts5.html#carrotq), and FTS5Pattern has gained a new initializer: `FTS5Pattern(matchingPrefixPhrase:)`
|
||||
|
||||
|
||||
## 2.7.0
|
||||
|
||||
Released January 21, 2018 • [diff](https://github.com/groue/GRDB.swift/compare/v2.6.1...v2.7.0)
|
||||
|
||||
@@ -4399,6 +4399,8 @@ let pattern = FTS5Pattern(matchingAnyTokenIn: query)
|
||||
let pattern = FTS5Pattern(matchingAllTokensIn: query)
|
||||
// Matches documents that contain "SQLite database"
|
||||
let pattern = FTS5Pattern(matchingPhrase: query)
|
||||
// Matches documents that start with "SQLite database"
|
||||
let pattern = FTS5Pattern(matchingPrefixPhrase: query)
|
||||
```
|
||||
|
||||
They return nil when no pattern could be built from the input string:
|
||||
|
||||
Reference in new issue
Block a user