Welcome Guest, Not a member yet? Register   Sign In
CI4 equilvalent of save_queries?
#1

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 
How does one do this in CI4?
Reply
#2

(This post was last modified: 12-28-2020, 12:33 PM by InsiteFX.)

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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB