mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
CTE columns are provided as strings
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user