• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extending \CodeIgniter\Database\MySQLi\Builder possible?

#9
(08-11-2019, 08:43 PM)kilishan Wrote: First - extending database classes doesn't work, unfortunately. It's gets messy really fast due to the way the classes are found, so you'd have to basically extend ALL of the MySQLi classes and make it a separate driver. Probably not what you're looking for.

Thanks! I know from CI3 that extending Database was ugly. I didn't understand the shared $db object so thanks for pointing that out.
Reply


Messages In This Thread
RE: Extending \CodeIgniter\Database\MySQLi\Builder possible? - by tgix - 08-11-2019, 09:54 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.