$data = $this->MODEL->find('all', array(
'conditions' => array(
'and' => array(
'MODEL.email' => $param[0][MODEL]["email"],
'MODEL.id <' => $param[0][MODEL]["id"],
'or' => array(
array('MODEL.status' => 1),
array('MODEL.status' => 2)
//条件にはlistの配列も指定できる
)
)
)
));


▲上に戻る