113 # at least rql could be fixed now that we have union and sub-queries |
113 # at least rql could be fixed now that we have union and sub-queries |
114 # but I tend to think that since we have that, we should not need this |
114 # but I tend to think that since we have that, we should not need this |
115 # method anymore (syt) |
115 # method anymore (syt) |
116 rset = ResultSet(self.rows+rset.rows, self.rql, self.args, |
116 rset = ResultSet(self.rows+rset.rows, self.rql, self.args, |
117 self.description +rset.description) |
117 self.description +rset.description) |
|
118 return self.req.decorate_rset(rset) |
|
119 |
|
120 def copy(self): |
|
121 rset = ResultSet(self.rows[:], self.rql, self.args, self.description[:]) |
118 return self.req.decorate_rset(rset) |
122 return self.req.decorate_rset(rset) |
119 |
123 |
120 def _prepare_copy(self, rows, descr): |
124 def _prepare_copy(self, rows, descr): |
121 rset = ResultSet(rows, self.rql, self.args, descr) |
125 rset = ResultSet(rows, self.rql, self.args, descr) |
122 return self.req.decorate_rset(rset) |
126 return self.req.decorate_rset(rset) |