CodeIgniter Forums
Profiling Queries on multiple databases - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Profiling Queries on multiple databases (/showthread.php?tid=7682)



Profiling Queries on multiple databases - El Forum - 04-18-2008

[eluser]bcdennis[/eluser]
It appears that when I do $my_db = $this->database->load('my_db');
that any queries executed against $my_db don't show up in the profiler output. Is it a bug? A configuration option somewhere? or a parameter? Or is it functioning as expected?

thanks


Profiling Queries on multiple databases - El Forum - 04-19-2008

[eluser]Seppo[/eluser]
Are you trying to extend the Database Class?
If that's so, the Creating Libraries section says
Quote:Note: The Database classes can not be extended or replaced with your own classes, nor can the Loader class in PHP 4. All other classes are able to be replaced/extended.