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

Method fetchall

lib/sqlalchemy/engine/result.py:1645–1648  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

1643 break
1644
1645 def fetchall(self) -> Sequence[RowMapping]:
1646 """A synonym for the :meth:`_engine.MappingResult.all` method."""
1647
1648 return self._allrows()
1649
1650 def fetchone(self) -> Optional[RowMapping]:
1651 """Fetch one object.

Callers

nothing calls this directly

Calls 1

_allrowsMethod · 0.80

Tested by

no test coverage detected