2014-11-12 9 views

Odpowiedz

0

Spróbuj jeden dla CakePHP 3.x

$query = $restaurants 
    ->find() 
    ->where(['id IN' => $r_ids]); 
$query->all(); 
0

Można także użyć krótkiej składnię:

$result = $restaurants->find('all', 
      ['conditions' => ['id IN' =>$r_ids]] 
     )->all(); 
Powiązane problemy