CI4 equilvalent of save_queries? - 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: CI4 equilvalent of save_queries? (/showthread.php?tid=78281) |
CI4 equilvalent of save_queries? - sneakyimp - 12-28-2020 I'm migrating a CI3 project to CI4 and one of my data maintenance scripts has a section that must run a lot of queries. To conserve memory, I turned off save_queries like so: PHP Code: $this->db->save_queries = FALSE; // disables query logging RE: CI4 equilvalent of save_queries? - InsiteFX - 12-28-2020 Not sure if this will help, but it may be what your looking for. Resetting Query Builder I looked through the database code and did not see anything like what you want to do. |