Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


code igniter log all queries


Developing applications in Code Igniter is fun and easy, as we do not have to write much of the actual queries because of its Active Record Implementation. Moreover, we can find plugins for CI which will write all the model classes for you in a click.

As we keep on developing application, we might sometimes need to keep track of the queries that have been run during each page load. It might seem minimal but while developing large enterprise applications, even the smallest optimizations will speed up things a lot.

Below you’ll find a CodeIgniter hook that logs all database queries to a simple text file.

asked Jun 1, 2015 in codeinither by rajesh
0 votes
16 views



Related Hot Questions



Government Jobs Opening


...