public function setTable($table, $pagination)
    {
        $this->where = null;
        $this->limit = null;
        $this->order = null;
        $this->duplicateUpdate = null;
        $this->query = null;
        $this->pagination = $pagination;
        $this->table = $table;

        return $this;
    }