MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / fetchall

Method fetchall

lib/sqlalchemy/engine/result.py:1803–1806  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

1801 break
1802
1803 def fetchall(self) -> Sequence[_R]:
1804 """A synonym for the :meth:`_engine.ScalarResult.all` method."""
1805
1806 return self._allrows()
1807
1808 def fetchmany(self, size: Optional[int] = None) -> Sequence[_R]:
1809 """Fetch many objects.

Callers

nothing calls this directly

Calls 1

_allrowsMethod · 0.80

Tested by

no test coverage detected