From 423dbc756ba6d71755d84ba9bf284991f66f7d30 Mon Sep 17 00:00:00 2001 From: maks feltrin Date: Sat, 26 Apr 2014 03:52:25 +0200 Subject: [PATCH] typo --- docs/guide/query-builder.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/query-builder.md b/docs/guide/query-builder.md index c5677f46a6..a6372ae890 100644 --- a/docs/guide/query-builder.md +++ b/docs/guide/query-builder.md @@ -109,7 +109,7 @@ When the tables are specified as an array, you may also use the array keys as th (if a table does not need alias, do not use a string key). For example, ```php -$query->select('u.*, p.*')->from(['u' => 'user u', 'p' => 'post']); +$query->select('u.*, p.*')->from(['u' => 'user', 'p' => 'post']); ``` You may specify a sub-query using a `Query` object. In this case, the corresponding array key will be used