We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fb7af commit 70551e8Copy full SHA for 70551e8
Sources/SQLite/Typed/Query.swift
@@ -938,7 +938,7 @@ extension Connection {
938
private func columnNamesForQuery(_ query: QueryType) throws -> [String: Int] {
939
var (columnNames, idx) = ([String: Int](), 0)
940
column: for each in query.clauses.select.columns {
941
- var names = each.expression.template.split { $0 == "." }.map(String.init)
+ var names = each.expression.template.split(separator: ".")
942
let column = names.removeLast()
943
let namespace = names.joined(separator: ".")
944
0 commit comments