Cml\Db\Base::reset PHP Метод

reset() защищенный Метод

orm参数重置
protected reset ( )
    protected function reset()
    {
        if (!$this->paramsAutoReset) {
            $this->sql['columns'] = '';
            return;
        }
        $this->sql = ['where' => '', 'columns' => '', 'limit' => '', 'orderBy' => '', 'groupBy' => '', 'having' => ''];
        $this->table = [];
        //操作的表
        $this->join = [];
        //是否内联
        $this->leftJoin = [];
        //是否左联结
        $this->rightJoin = [];
        //是否右联
        $this->whereNeedAddAndOrOr = 0;
    }