Gdn_SQLDriver::orHaving PHP Method

orHaving() public method

Adds to the $this->_Havings collection. Concatenates multiple calls with OR.
See also: Gdn_DatabaseDriver::Having()
public orHaving ( mixed $Field, string $Value = '', boolean $EscapeField = true, boolean $EscapeValue = true ) : Gdn_SQLDriver
$Field mixed The name of the field (or array of field names) in the having clause.
$Value string The string on the right side of the having comparison.
$EscapeField boolean A boolean value indicating if $this->EscapeSql method should be called on $Field.
$EscapeValue boolean A boolean value indicating if $this->EscapeString method should be called on $Value.
return Gdn_SQLDriver $this
    function orHaving($Field, $Value = '', $EscapeField = true, $EscapeValue = true)
    {
        return $this->orOp()->having($Field, $Value, $EscapeField, $EscapeValue);
    }