From 082a668ed34e4de74187a97e3b74969930bdc1a6 Mon Sep 17 00:00:00 2001 From: pine3ree Date: Sat, 7 Oct 2023 05:08:48 +0200 Subject: [PATCH] Fix sql example Signed-off-by: pine3ree --- docs/sql/clauses.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sql/clauses.md b/docs/sql/clauses.md index 6dffd4f3..38c9d532 100644 --- a/docs/sql/clauses.md +++ b/docs/sql/clauses.md @@ -190,7 +190,7 @@ $select 'u.enabled' => true, // equality condition in key => value form ]); -// SELECT "p".*, "u"."name" AS "user" FROM "post" "p" +// SELECT "p".*, "u"."name" AS "author" FROM "post" "p" // LEFT JOIN "user" "u" ON ("u".id = "p".user_id AND "u"."enabled" = :eq1) ```