Ejemplo n.º 1
0
 /**
  * Append a WHERE with OR.
  *
  * @see SQLSelect::addWhere() for syntax examples, although DataQuery
  * won't expand multiple method arguments as SQLSelect does.
  *
  * @param string|array|SQLConditionGroup $filter Predicate(s) to set, as escaped SQL statements or
  * paramaterised queries
  * @return DataQuery
  */
 public function whereAny($filter)
 {
     if ($filter) {
         $this->query->addWhereAny($filter);
     }
     return $this;
 }