public function hasField($fieldName) { if (empty($this->fields)) { $this->fields = $this->instance->fieldsForTable($this); } return in_array($fieldName, $this->fields); }
/** * Fetch the results for the query. * * @return Set|null Results or nothing */ public function fetch() { $this->compile(); return $this->instance->fetch($this); }