public function count() { $this->queryType = self::QUERY_SELECT; $this->selectFields = array(FieldInfo::make(Func::count("*"), 'total_count')); $this->selectQuerySettings['pluck'] = true; return $this; }
public function count() { $this->selectFields = array(FieldInfo::make(Func::count("*"), 'total_count')); return $this; }