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

Method fetchall

lib/sqlalchemy/engine/result.py:920–923  ·  view source on GitHub ↗

A synonym for the :meth:`_engine.Result.all` method.

(self)

Source from the content-addressed store, hash-verified

918 break
919
920 def fetchall(self) -> Sequence[Row[Unpack[_Ts]]]:
921 """A synonym for the :meth:`_engine.Result.all` method."""
922
923 return self._allrows()
924
925 def fetchone(self) -> Optional[Row[Unpack[_Ts]]]:
926 """Fetch one row.

Callers 7

__init__Method · 0.45
async_mainFunction · 0.45
test_core_fetchallFunction · 0.45
_test_dbapi_rawFunction · 0.45

Calls 1

_allrowsMethod · 0.80

Tested by 2

test_core_fetchallFunction · 0.36