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