Skip to content
Permalink
Browse files

Fix mistakes in API docs.

  • Loading branch information...
markstory committed Feb 1, 2017
1 parent 167a993 commit c8108074f35166639d50657106f301d660c4a5b7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ORM/Query.php
@@ -495,7 +495,7 @@ public function matching($assoc, callable $builder = null)
* ->select(['total_articles' => $query->func()->count('Articles.id')])
* ->leftJoinWith('Articles')
* ->group(['Users.id'])
* ->setAutoFields(true);
* ->enableAutoFields(true);
* ```
*
* You can also customize the conditions passed to the LEFT JOIN:
@@ -508,7 +508,7 @@ public function matching($assoc, callable $builder = null)
* return $q->where(['Articles.votes >=' => 5]);
* })
* ->group(['Users.id'])
* ->setAutoFields(true);
* ->enableAutoFields(true);
* ```
*
* This will create the following SQL:

0 comments on commit c810807

Please sign in to comment.
You can’t perform that action at this time.