Welcome Guest, Not a member yet? Register   Sign In
Number of Queries Executed
#1

[eluser]Sherz[/eluser]
Is there any way to display the number of queries that CodeIgniter has executed? I currently could add this to every time one is used but (as I use the activerecord class) is there an easier way?
#2

[eluser]JHackamack[/eluser]
If you're looking for debugging purposes then you can use the Profiler which will show you all the queries and how long it took to run each one.
#3

[eluser]Shay Falador[/eluser]
Yes.
$this->db->total_queries();
#4

[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui...iling.html




Theme © iAndrew 2016 - Forum software by © MyBB