php - How to Display total mysql queries executed specific mysqli class
I am using this php class. here it is https://github.com/joshcam/PHP-MySQLi-Database-Class
Could someone tell me how I can get the number of queries that have been run during a trace session. The trace documentation is at the end of the documentation page on github.
According to this documentation, each trace is stored in the object as an array see
print_r ($db->trace);at the end.
So you can get the number of queries executed by just doing