Welcome Guest, Not a member yet? Register   Sign In
CI4 Db
#4

Adding methods is probably better done in a new base Model class, I would think.

As for anything more complex, I think you'll basically have to setup an entire set of Handlers, like you were setting up a new database the system knew about. That would include Builder, Connection, Forge, PreparedQuery, and Result classes. Each of those would just extend the MySQLi or Postgre files, per your need. This is needed, unfortunately, due to the way that class files are loaded within the database system. Kind of a pain, and probably something that needs to be looked into at some point.
Reply


Messages In This Thread
CI4 Db - by scalla - 07-15-2018, 06:18 PM
RE: CI4 Db - by kilishan - 07-15-2018, 08:00 PM
RE: CI4 Db - by scalla - 07-15-2018, 09:04 PM
RE: CI4 Db - by kilishan - 07-15-2018, 09:32 PM
RE: CI4 Db - by scalla - 07-15-2018, 10:22 PM
RE: CI4 Db - by scalla - 07-15-2018, 10:30 PM
RE: CI4 Db - by kilishan - 07-16-2018, 06:23 AM
RE: CI4 Db - by scalla - 07-16-2018, 07:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB