MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _fetchall_impl

Method _fetchall_impl

lib/sqlalchemy/engine/result.py:1890–1898  ·  view source on GitHub ↗
(
        self,
    )

Source from the content-addressed store, hash-verified

1888 return row
1889
1890 def _fetchall_impl(
1891 self,
1892 ) -> List[_InterimRowType[Row[Unpack[TupleAny]]]]:
1893 if self._hard_closed:
1894 self._raise_hard_closed()
1895 try:
1896 return list(self.iterator)
1897 finally:
1898 self._soft_close()
1899
1900 def _fetchmany_impl(
1901 self, size: Optional[int] = None

Callers

nothing calls this directly

Calls 2

_raise_hard_closedMethod · 0.95
_soft_closeMethod · 0.95

Tested by

no test coverage detected