Gdn_SQLDriver::andOp PHP 메소드

andOp() 공개 메소드

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.
또한 보기: 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.
리턴 Gdn_SQLDriver $this
    public function andOp($SetDefault = false)
    {
        $this->_WhereConcat = 'and';
        if ($SetDefault) {
            $this->_WhereConcatDefault = 'and';
            $this->_WhereGroupConcatDefault = 'and';
        }
        return $this;
    }