I'm in process to migrate an old webapp to codeigniter, everything looks good other then that the database has 3 kind of tables with different table prefixes.
- the app's native tables use
mci_as prefix - tables which hold inter departmental data (kind off) use
mdept_ - and tables handling non-native data use
mext_as prefix
now as I understand we can set one prefix for entire database
'hostname' => DB_HOST,
'username' => DB_USER,
'password' => DB_PASS,
'database' => DB_NAME,
'dbdriver' => 'mysqli',
'dbprefix' => 'mci_',
and query builder will use mci_ for all tables.
My question is, is there a way to use rest of the 2 prefixes (mdept_, mext_) with query builder rather then having the direct approach db->query
Thanks