EllisLab/CodeIgniter — Issue #1052: Suggestion to Active Record "count_all_results()"
Author: bushinfo
Created: 2012-02-17 11:50:15+00:00
State: open

It would be interesting that had the option to not reset query. By example:

----------------------
# (file )system/database/DB_active_rec.php (line:973)
public function count_all_results($table = '', $reset = true)
...
if ( $reset )
{
$this->_reset_select();
}
...
----------------------

Why this it? Because you may need to take this query to list immediatly after.

One example of the use would in Pagination that need count all results and also need list immediatly after.

What do you think?