From 71841f0a07e8309d85295c158e4da4aa2c3ef75d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 5 Dec 2020 18:16:20 +0100 Subject: [PATCH] Documentation --- Documentation/CommonTableExpressions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/CommonTableExpressions.md b/Documentation/CommonTableExpressions.md index 48da73b1f..ca37c17b1 100644 --- a/Documentation/CommonTableExpressions.md +++ b/Documentation/CommonTableExpressions.md @@ -30,7 +30,7 @@ let playerNameCTE = CommonTableExpression( request: Player.select(Column("name"))) ``` -You can feed CTE with SQL as well (second and third examples use [SQL Interpolation]): +You can feed a CTE with raw SQL as well (second and third examples use [SQL Interpolation]): ```swift let name = "O'Brien" @@ -134,7 +134,7 @@ let request = Player > cte.all().select(...).filter(...).group(...).order(...) > ``` -Common table expressions are also available with [SQLRequest] and [SQL Interpolation]: +Common table expressions can also be embedded in [SQLRequest] and [SQL Interpolation]: ```swift // WITH playerName AS (SELECT 'O''Brien')