Support mutiple database instances
mckaygerhard opened this issue · comments
after a hard comparison between the two profiler addon for codeigniter, forensics are the better by so far! forensics handle and show many more date rether thatn others "complex addons"
if i have multi db instances in controller profiler forensics does not handle any db output, code example:
class Welcome extends CI_Controller
{
public function index()
{
$this->DB1 = $this->load->database('development', TRUE);
$this->DB2 = $this->load->database('development2', TRUE);
$this->DB1->select('*');
$result1 = $this->DB1->result();
$this->DB2->select('*');
$result2 = $this->DB2->result();
}
}
there's some way to handle multi DB instances and show the querys, i try some patches backported from CI 3 brand but no success!
the commit e771df4 will solve that!