Skip to content

Commit e100dcd

Browse files
committed
wrap column name in quotes
1 parent 5c88261 commit e100dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SQLite/Typed/Expression.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ extension ExpressionType {
107107
}
108108

109109
public func alias(_ aliasName: String) -> Expressible {
110-
return " ".join([self, Expression<Void>(literal: "AS \(aliasName)")])
110+
return " ".join([self, Expression<Void>(literal: "AS \"\(aliasName)\"")])
111111
}
112112
}
113113

0 commit comments

Comments
 (0)