scoumbourdis/grocery-crud — pull request #150 by kjartano (2013-01-03 01:19:48+00:00)
Title: Optimizing the SELECT statement for counting rows

Hi,

This p-request will optimize the SELECT statement in get_total_results(). Instead of getting all the records from the database, this will only count them.