Write the NOT directly in the column name of the condition.
The following is an example of using the model Model
on the SamplesController
.
$this->loadModel('Model');
$params=array
(
'conditions' = > array
(
'col1NOT' = > 'Hage',
'col2NOT' = > 'Fluff',
)
);
$return=$this->Model->find('all',$params);
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
549 PHP ssh2_scp_send fails to send files as intended
546 Understanding How to Configure Google API Key
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.