public function addWhere($statement) { if ($this->currentQuery) { $this->currentQuery->addWhere($statement); } }