GRDB.swift v0.65.0 Release Notes
-
๐ Released May 19, 2016
๐ Fixed
- ๐ GRDB throws an early error when a connection to a file can not be established because it has the wrong format, or is encrypted. Fixes #54.
๐ฅ Breaking Change
The
FetchRequest
struct has been renamedQueryInterfaceRequest
. A newFetchRequest
protocol has been introduced. All APIs that used to consume theFetchRequest
struct now consume theFetchRequest
protocol.This change should not have any consequence on your source code, and paves the way for easier configuration of any piece of "code that fetches".
-struct FetchRequest<T> { -} +protocol FetchRequest { + func selectStatement(db: Database) throws -> SelectStatement +} +struct QueryInterfaceRequest<T> : FetchRequest { + init(tableName: String) +}