CTE columns are provided as strings

This commit is contained in:
Gwendal Roué committed 2020-12-03 08:34:43 +01:00
1 parent 17b884b3dc
commit 4ee6f3293a
5 files changed
+18 -18

No files matched your search

@@ -81,7 +81,7 @@ struct SQLQueryGenerator: Refinable {
.map { tableName, cte in
let columnsSQL = cte.columns
.map { columns in
"(" + columns.map(\.name.quotedDatabaseIdentifier).joined(separator: ", ") + ")"
"(" + columns.map(\.quotedDatabaseIdentifier).joined(separator: ", ") + ")"
}
?? ""
let cteContext = SQLGenerationContext(parent: context)