Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Number of db queries run
  • Hi, Anyone know how to display the number of database queries that have been run using both normal db and Activerecord classes in the footer along with the standard total execution time and memory usage?
  • Hello, to get the queries count you do:
    echo DB::$query_count;
    

    good luck
  • All sorted now. Thanks for the reply huglester.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion