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: