(self, sql, connection)
| 269 | class QueryResult: |
| 270 | |
| 271 | def __init__(self, sql, connection): |
| 272 | |
| 273 | self.sql = sql |
| 274 | self.connection = connection |
| 275 | |
| 276 | cursor, duration = self.execute_query() |
| 277 | |
| 278 | self._description = cursor.description or [] |
| 279 | self._data = [list(r) for r in cursor.fetchall()] |
| 280 | self.duration = duration |
| 281 | |
| 282 | cursor.close() |
| 283 | |
| 284 | self._headers = self._get_headers() |
| 285 | self._summary = {} |
| 286 | |
| 287 | @property |
| 288 | def data(self): |
nothing calls this directly
no test coverage detected