From 226d98cf6bb682ab5a27159bcc2fb143a55088c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 1 Dec 2016 06:35:34 +0100 Subject: [PATCH] CHANGELOG.md --- CHANGELOG.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8c43df19..a5b232c30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -107,16 +107,19 @@ Many APIs were changed: - func performExists(_ db: Database) -> Bool + func performExists(_ db: Database) throws -> Bool } + + extension QueryInterfaceRequest { +- func fetchCount(...) -> Int ++ func fetchCount(...) throws -> Int + } - struct QueryInterfaceRequest { + extension QueryInterfaceRequest where T: RowConvertible { - func fetch(...) -> DatabaseSequence - func fetchAll(...) -> [T] - func fetchOne(...) -> T? -- func fetchCount(...) -> Int + func fetchCursor(...) throws -> DatabaseCursor + func fetchAll(...) throws -> [T] + func fetchOne(...) throws -> T? -+ func fetchCount(...) throws -> Int } extension RowConvertible {