MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / fetchall

Method fetchall

test/perf/compiled_extensions/result.py:378–381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

376 return ret
377
378 def fetchall(self):
379 ret = self._rows
380 self._rows = []
381 return ret
382
383
384class _MockConnection:

Callers 15

fetchmanyMethod · 0.95
test_commitsMethod · 0.45
test_rollbackMethod · 0.45
test_raiseMethod · 0.45
test_closeMethod · 0.45
test_close2Method · 0.45

Calls

no outgoing calls

Tested by 15

test_commitsMethod · 0.36
test_rollbackMethod · 0.36
test_raiseMethod · 0.36
test_closeMethod · 0.36
test_close2Method · 0.36
_assert_fnMethod · 0.36