diff --git a/GRDB/Core/Database.swift b/GRDB/Core/Database.swift index 1f2300b9d..b17e330a4 100644 --- a/GRDB/Core/Database.swift +++ b/GRDB/Core/Database.swift @@ -920,8 +920,8 @@ extension Database { return indexes } - /// True if a set of columns uniquely identifies a row, that is to say if - /// the columns are the primary key, or if there is a unique index on them. + /// True if a sequence of columns uniquely identifies a row, that is to say + /// if the columns are the primary key, or if there is a unique index on them. public func table(tableName: String, hasUniqueKey columns: T) throws -> Bool { let primaryKey = try self.primaryKey(tableName) // first, so that we fail early and consistently should the table not exist let columns = Set(columns)