Example #1
0
 /**
  * Selects the or having(s) for a database query.
  *
  * @param   string|array  key name or array of key => value pairs
  * @param   string        value to match with key
  * @param   boolean       disable quoting of WHERE clause
  * @return  Database        This Database object.
  */
 public function orHaving($key, $value = '', $quote = TRUE)
 {
     $this->_having[] = $this->_driver->where($key, $value, 'OR', count($this->_having), $quote);
     return $this;
 }