Don't deprecate SQLLiteral.mapSQL, after all

This commit is contained in:
Gwendal Roué committed 2020-01-25 13:46:00 +01:00
1 parent db8585aa85
commit e999ab5ecb
3 files changed
+42 -5

No files matched your search

@@ -6,7 +6,7 @@ extension SQLExpression {
/// Converts an expression to an SQLLiteral
///
/// :nodoc:
@available(*, deprecated, message: "Use SQL interpolation instead")
@available(*, deprecated, message: "Use SQLLiteral initializer instead")
public var sqlLiteral: SQLLiteral {
return SQLLiteral(elements: [.expression(self)])
}