Welcome Guest, Not a member yet? Register   Sign In
Builder *and* beforeInert beforeUpdate
#5

(06-23-2022, 04:33 AM)kenjis Wrote: Extending Core Classes https://codeigniter.com/user_guide/exten...re-classes
is based on Replacing Core Classes https://codeigniter.com/user_guide/exten...re-classes

That is, you need to add the service in app/Config/Services.php to load your class.

But there is no service for database classes.
So if you want to extend BaseBuilder, you need to extend the Database classes.

Ok, thanks for clarifying that. I've found this to be the case as I've worked on it as well. Just gonna re-write the models to not use the builder instead for updates/inserts. Time constraints and all for the project at hand.
Reply


Messages In This Thread
RE: Builder *and* beforeInert beforeUpdate - by Kaosweaver - 06-23-2022, 07:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB