MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / fetchall

Method fetchall

pager_lib/pymysql/cursors.py:294–304  ·  view source on GitHub ↗

Fetch all the rows.

(self)

Source from the content-addressed store, hash-verified

292 return result
293
294 def fetchall(self):
295 """Fetch all the rows."""
296 self._check_executed()
297 if self._rows is None:
298 return []
299 if self.rownumber:
300 result = self._rows[self.rownumber :]
301 else:
302 result = self._rows
303 self.rownumber = len(self._rows)
304 return result
305
306 def scroll(self, value, mode="relative"):
307 self._check_executed()

Callers 15

get_host_by_ipMethod · 0.45
get_all_hostsMethod · 0.45
cleanup_old_hostsMethod · 0.45
get_scan_historyMethod · 0.45
get_count_snapshotMethod · 0.45
get_scan_jobsMethod · 0.45

Calls 1

_check_executedMethod · 0.95

Tested by

no test coverage detected