SE-0249: Key Path Expressions as Functions

This commit is contained in:
Gwendal Roué committed 2020-03-08 19:58:51 +01:00
1 parent a31984724e
commit 7865b0a2ee
40 files changed
+160 -160

No files matched your search

@@ -370,7 +370,7 @@ struct SQLQueryGenerator {
// Grouping by some column(s) which are unique
// SELECT * FROM player GROUP BY id
let columnNames = qualifiedColumns.map { $0.name }
let columnNames = qualifiedColumns.map(\.name)
if try db.table(tableName, hasUniqueKey: columnNames) {
return .unique
}