From afc360cf788944231a34acd72d8dafaad6415455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 18 Apr 2021 16:13:42 +0200 Subject: [PATCH] Documentation --- Documentation/QueryInterfaceOrganization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/QueryInterfaceOrganization.md b/Documentation/QueryInterfaceOrganization.md index c7d4463ae..cbe3535aa 100644 --- a/Documentation/QueryInterfaceOrganization.md +++ b/Documentation/QueryInterfaceOrganization.md @@ -297,7 +297,7 @@ let request = Player.filter(literal) let players: [Player] = try request.fetchAll(db) ``` -:warning: **Warning**: Not all SQL snippets are expressions, though. It is not recommended to pass `SQL` literals around, or you may end up running invalid SQL. Instead, return an explicit [SQLExpression], [SQLOrdering], [SQLSelection], [SQLRequest], or [SQLSubquery], depending on what you want to express: +:warning: **Warning**: Not all SQL snippets are expressions. It is not recommended to pass `SQL` literals around, or you may end up forgetting their content, and eventually generate invalid SQL. When possible, prefer building an explicit [SQLExpression], [SQLOrdering], [SQLSelection], [SQLRequest], or [SQLSubquery], depending on what you want to express: ```swift // SQLExpression