mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
CHANGELOG
This commit is contained in:
1 parent
2ce588ad76
commit
220d221ea6
2 files changed
+9
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user