public function fetch() { $result = QueryExecutor::prepare($this->_db, $this->_query)->fetch(); if (!$result) { return null; } return !$this->_selectModel ? $result : Arrays::firstOrNull($this->_processResults(array($result))); }