NukeViet\Core\Database::sqlreset PHP Method

sqlreset() public method

reset query.
public sqlreset ( ) : Database
return Database $this
    public function sqlreset()
    {
        $this->_select = '';
        $this->_from = '';
        $this->_join = '';
        $this->_where = '';
        $this->_group = '';
        $this->_having = '';
        $this->_order = '';
        $this->_limit = 0;
        $this->_offset = 0;
        return $this;
    }