From 7ee4e269c3bb29b123605eac634bb9ef8827fbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Rou=C3=A9?= Date: Tue, 25 Feb 2020 15:02:18 +0100 Subject: [PATCH] Fix sample code --- Documentation/SQLInterpolation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/SQLInterpolation.md b/Documentation/SQLInterpolation.md index 20b0cb9f9..967f1e253 100644 --- a/Documentation/SQLInterpolation.md +++ b/Documentation/SQLInterpolation.md @@ -152,7 +152,7 @@ Such literals can be returned by Swift functions: ```swift func date(_ value: SQLExpressible) -> SQLExpression { - SQLLiteral("DATE(\(lhs.sqlExpression)").sqlExpression + SQLLiteral("DATE(\(lhs.sqlExpression))").sqlExpression } // SELECT * FROM "player" WHERE DATE("createdAt") = '2020-01-23'