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