Skip to content

Commit

Permalink
Fix Query::from() examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndm2 committed Jan 28, 2016
1 parent 3056809 commit e246575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Database/Query.php
Expand Up @@ -390,8 +390,8 @@ public function modifier($modifiers, $overwrite = false)
* ```
* $query->from(['p' => 'posts']); // Produces FROM posts p
* $query->from('authors'); // Appends authors: FROM posts p, authors
* $query->select(['products'], true); // Resets the list: FROM products
* $query->select(['sub' => $countQuery]); // FROM (SELECT ...) sub
* $query->from(['products'], true); // Resets the list: FROM products
* $query->from(['sub' => $countQuery]); // FROM (SELECT ...) sub
* ```
*
* @param array|ExpressionInterface|string $tables tables to be added to the list
Expand Down

0 comments on commit e246575

Please sign in to comment.