Exemplo n.º 1
0
 /**
  * count.
  */
 public function count($query = array(), $limit = 0, $skip = 0)
 {
     $this->time->start();
     $return = parent::count($query, $limit, $skip);
     $time = $this->time->stop();
     $this->log(array('type' => 'count', 'query' => $query, 'limit' => $limit, 'skip' => $skip, 'time' => $time));
     return $return;
 }