mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Correcting example in doc block. Fixes #1132
This commit is contained in:
parent
9e4c890082
commit
8cd266c77f
1 changed files with 6 additions and 4 deletions
|
@ -2024,10 +2024,12 @@ class Model extends Overloadable {
|
|||
* find('all', array(
|
||||
* 'conditions' => array('name' => 'Thomas Anderson'),
|
||||
* 'joins' => array(
|
||||
* 'alias' => 'Thought',
|
||||
* 'table' => 'thoughts',
|
||||
* 'type' => 'LEFT',
|
||||
* 'conditions' => '`Thought`.`person_id` = `Person`.`id`'
|
||||
* array(
|
||||
* 'alias' => 'Thought',
|
||||
* 'table' => 'thoughts',
|
||||
* 'type' => 'LEFT',
|
||||
* 'conditions' => '`Thought`.`person_id` = `Person`.`id`'
|
||||
* )
|
||||
* )
|
||||
* ));
|
||||
* }}}
|
||||
|
|
Loading…
Add table
Reference in a new issue