Greater or Less than in database model - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Greater or Less than in database model (/showthread.php?tid=78322) |
Greater or Less than in database model - basahbasahan - 01-03-2021 Hello Is there a way to use like this Model ? "SELECT * FROM question WHERE question_id < 3000" As far as I know, there is only like this : $questionModel->where("question_id",3000)->findAll(); Thanks in advance. RE: Greater or Less than in database model - iRedds - 01-03-2021 RTFM |