Skip to content

Commit

Permalink
Merge pull request #9379 from cakephp/issue-9372
Browse files Browse the repository at this point in the history
Clarify Query::from() usage.
  • Loading branch information
lorenzo committed Aug 31, 2016
2 parents 8314c2f + f4c6dcb commit a48e247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Database/Query.php
Expand Up @@ -422,7 +422,9 @@ public function modifier($modifiers, $overwrite = false)
* $query->from(['sub' => $countQuery]); // FROM (SELECT ...) sub
* ```
*
* @param array|\Cake\Database\ExpressionInterface|string $tables tables to be added to the list
* @param array|string $tables tables to be added to the list. This argument, can be
* passed as an array of strings, array of expression objects, or a single string. See
* the examples above for the valid call types.
* @param bool $overwrite whether to reset tables with passed list or not
* @return $this
*/
Expand Down

0 comments on commit a48e247

Please sign in to comment.