This commit is contained in:
Gwendal Roué committed 2020-01-25 16:29:04 +01:00
1 parent c64b2d1032
commit b961962f93
1 file changed
+1 -1
@@ -8,7 +8,7 @@ extension SQLExpression {
/// :nodoc:
@available(*, deprecated, message: "Use SQLLiteral initializer instead")
public var sqlLiteral: SQLLiteral {
return SQLLiteral(elements: [.expression(self)])
return SQLLiteral(self)
}
/// The expression as a quoted SQL literal (not public in order to avoid abuses)