Example #1
0
 /**
  * Add the registered conditions to the WHERE clause.
  *
  * @return $this
  */
 protected function addConditions()
 {
     $this->query .= "WHERE{\n";
     $this->condition->compile($this);
     $this->filter->compile($this);
     $this->query .= "}\n";
     return $this;
 }