equal
deleted
inserted
replaced
108 self._rsetactions[key] = actions |
108 self._rsetactions[key] = actions |
109 return actions |
109 return actions |
110 |
110 |
111 def __len__(self): |
111 def __len__(self): |
112 """returns the result set's size""" |
112 """returns the result set's size""" |
113 return self.rowcount |
|
114 |
|
115 def __nonzero__(self): |
|
116 return self.rowcount |
113 return self.rowcount |
117 |
114 |
118 def __getitem__(self, i): |
115 def __getitem__(self, i): |
119 """returns the ith element of the result set""" |
116 """returns the ith element of the result set""" |
120 return self.rows[i] #ResultSetRow(self.rows[i]) |
117 return self.rows[i] #ResultSetRow(self.rows[i]) |