public function rebuild()
    {
        $this->apply(function($config) {
            $this->rebuildCacheRecord($config, $this->model, 'SUM', $config['columnToSum']);
        });
    }
public function rebuild()
    {
        $this->apply(function($config) {
            $this->rebuildCacheRecord($config, $this->model, 'SUM', $config['columnToSum']);
        });
    }
public function rebuild ( ) { $ this -> apply ( function ( $ config ) { $ this -> rebuildCacheRecord ( $ config , $ this -> model , 'SUM' , $ config [ 'columnToSum' ] ) ; } ) ; }
Rebuild the count caches from the database
Rebuild the count caches from the database