Skip to content

Commit 70551e8

Browse files
committed
Fix Compilation On Xcode 12 Beta 1
1 parent 70fb7af commit 70551e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SQLite/Typed/Query.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ extension Connection {
938938
private func columnNamesForQuery(_ query: QueryType) throws -> [String: Int] {
939939
var (columnNames, idx) = ([String: Int](), 0)
940940
column: for each in query.clauses.select.columns {
941-
var names = each.expression.template.split { $0 == "." }.map(String.init)
941+
var names = each.expression.template.split(separator: ".")
942942
let column = names.removeLast()
943943
let namespace = names.joined(separator: ".")
944944

0 commit comments

Comments
 (0)