Close the cursor. No further queries will be possible.
(self)
| 88 | self._result = None |
| 89 | |
| 90 | def close(self): |
| 91 | """Close the cursor. No further queries will be possible.""" |
| 92 | if self.connection is None or not dir(self.connection): return |
| 93 | while self.nextset(): pass |
| 94 | self.connection = None |
| 95 | |
| 96 | def _check_executed(self): |
| 97 | if not self._executed: |