Example #1
0
 /**
  * Filter this query using the given column and value
  *
  * This notifies the repository about the required filter column.
  *
  * @param   string  $column
  * @param   mixed   $value
  *
  * @return  $this
  */
 public function where($column, $value = null)
 {
     $this->query->where($this->repository->requireFilterColumn($this->target, $column, $this), $this->repository->persistColumn($this->target, $column, $value, $this));
     return $this;
 }