public function rowCount()
{
return $this->stmt->rowCount();
}
protected function execute() { if ($this->currentStatement === null) { $this->currentStatement = $this->db->query($this->buildQuery()); $this->rowCount = $this->currentStatement->rowCount(); } return $this->currentStatement; }