Query num-rows missing? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Query num-rows missing? (/showthread.php?tid=73195) |
Query num-rows missing? - mirel.popescu - 03-29-2019 Hello, please add the num_rows function in query result helper Thank you! RE: Query num-rows missing? - InsiteFX - 03-29-2019 Just use count($query); RE: Query num-rows missing? - MGatner - 03-29-2019 You can use countAll(), countAllResults(), or affectedRows(), depending on what you’re trying to get. RE: Query num-rows missing? - mirel.popescu - 03-29-2019 (03-29-2019, 08:20 AM)InsiteFX Wrote: Just use count($query); Thank you. Found it! |