CHANGELOG

This commit is contained in:
Gwendal Roué committed 2021-06-19 14:03:37 +02:00
1 parent 2ce588ad76
commit 220d221ea6
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -81,6 +81,14 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception:
- **Fixed**: [#980](https://github.com/groue/GRDB.swift/pull/980) by [@jroselightricks](https://github.com/jroselightricks): Fix spelling
- **Fixed**: [#989](https://github.com/groue/GRDB.swift/pull/989) by [@pp5x](https://github.com/pp5x): FTS: add support of ifNotExists in synchronize()
- **New**: The `selectID()` method is now available for [Identifiable Records](README.md#identifiable-records)
- **New**: Cached prepared statements can profit from [SQL Interpolation](Documentation/SQLInterpolation.md):
```swift
let updateStatement = try db.cachedUpdateStatement(literal: "INSERT ...")
let selectStatement = try db.cachedSelectStatement(literal: "SELECT ...")
// ~~~~~~~
```
## 5.8.0
+1 -1
View File
@@ -1855,7 +1855,7 @@ Cached statements also support [SQL Interpolation]:
```swift
let updateStatement = try db.cachedUpdateStatement(literal: "INSERT ...")
let selectStatement = try db.cachedSelectStatement(literal: "SELECT ...")
// ~~~~~~~
// ~~~~~~~
```
> :warning: **Warning**: Should a cached prepared statement throw an error, don't reuse it (it is a programmer error). Instead, reload one from the cache.