Gdn_SQLDriver::andOp PHP Method

andOp() public method

Note: Since 'and' is the default operator to begin with this method doesn't usually have to be called, unless Gdn_DatabaseDriver::Or(FALSE) has previously been called.
See also: Gdn_DatabaseDriver::OrOp()
public andOp ( boolean $SetDefault = false ) : Gdn_SQLDriver
$SetDefault boolean Whether or not the 'and' is one time or sets the default operator.
return Gdn_SQLDriver $this
    public function andOp($SetDefault = false)
    {
        $this->_WhereConcat = 'and';
        if ($SetDefault) {
            $this->_WhereConcatDefault = 'and';
            $this->_WhereGroupConcatDefault = 'and';
        }
        return $this;
    }