From ed525bd1d89732e91f2e520f417b2897695df9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 21 Jul 2017 12:15:35 +0200 Subject: [PATCH] Cleanup --- GRDB/Record/TableMapping.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GRDB/Record/TableMapping.swift b/GRDB/Record/TableMapping.swift index 0228dd5f6..dfe06d0e1 100644 --- a/GRDB/Record/TableMapping.swift +++ b/GRDB/Record/TableMapping.swift @@ -65,8 +65,8 @@ extension TableMapping { } } - // If there is no unique index on the columns, the method raises a fatal - // (unless fatalErrorOnMissingUniqueIndex is false, for testability). + // Raises a fatal error if there is no unique index on the columns (unless + // fatalErrorOnMissingUniqueIndex is false, for testability). static func filter(_ db: Database, keys: [[String: DatabaseValueConvertible?]], fatalErrorOnMissingUniqueIndex: Bool = true) throws -> QueryInterfaceRequest { // SELECT * FROM table WHERE ((a=? AND b=?) OR (c=? AND d=?) OR ...) let keyPredicates: [SQLExpression] = try keys.map { key in