From 7df77aa2d0dfae8440c1c72ff6479c4a6b34ca50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 5 Dec 2020 18:05:52 +0100 Subject: [PATCH] Documentation --- Documentation/SQLInterpolation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/SQLInterpolation.md b/Documentation/SQLInterpolation.md index b048d1a6f..82861693f 100644 --- a/Documentation/SQLInterpolation.md +++ b/Documentation/SQLInterpolation.md @@ -436,10 +436,10 @@ This chapter lists all kinds of supported interpolations. ```swift // WITH name AS (SELECT 'O''Brien') SELECT * FROM name - let name = CommonTableExpression( + let cte = CommonTableExpression( named: "name", literal: "SELECT \("O'Brien")") - "WITH \(definitionFor: name) SELECT * FROM \(name)" + "WITH \(definitionFor: cte) SELECT * FROM \(cte)" ``` - SQLLiteral: