model/queries/SQLConditionalExpression.php 1 location
|
@@ 466-473 (lines=8) @@
|
| 463 |
|
* @param mixed $where,... Unlimited additional predicates |
| 464 |
|
* @return self Self reference |
| 465 |
|
*/ |
| 466 |
|
public function addWhere($where) { |
| 467 |
|
$where = $this->normalisePredicates(func_get_args()); |
| 468 |
|
|
| 469 |
|
// If the function is called with an array of items |
| 470 |
|
$this->where = array_merge($this->where, $where); |
| 471 |
|
|
| 472 |
|
return $this; |
| 473 |
|
} |
| 474 |
|
|
| 475 |
|
/** |
| 476 |
|
* @see SQLConditionalExpression::addWhere() |
model/queries/SQLSelect.php 1 location
|
@@ 468-475 (lines=8) @@
|
| 465 |
|
* @param mixed $having,... Unlimited additional predicates |
| 466 |
|
* @return self Self reference |
| 467 |
|
*/ |
| 468 |
|
public function addHaving($having) { |
| 469 |
|
$having = $this->normalisePredicates(func_get_args()); |
| 470 |
|
|
| 471 |
|
// If the function is called with an array of items |
| 472 |
|
$this->having = array_merge($this->having, $having); |
| 473 |
|
|
| 474 |
|
return $this; |
| 475 |
|
} |
| 476 |
|
|
| 477 |
|
/** |
| 478 |
|
* Return a list of HAVING clauses used internally. |