Update documentation for literal interpolation

This commit is contained in:
Gwendal Roué committed 2019-02-17 13:24:38 +01:00
1 parent f15b2e12d6
commit 354d22d70d
10 files changed
+39 -39

No files matched your search

@@ -65,7 +65,7 @@ public struct SQLExpressionLiteral : SQLExpression {
/// With Swift 5, you can safely embed raw values in your SQL queries,
/// without any risk of syntax errors or SQL injection:
///
/// SQLExpressionLiteral(literal: SQLLiteral("\(1) + \(2)"))
/// SQLExpressionLiteral(literal: "\(1) + \(2)")
public init(literal sqlLiteral: SQLLiteral) {
self.sqlLiteral = sqlLiteral
}