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

Method all

lib/sqlalchemy/engine/result.py:2122–2131  ·  view source on GitHub ↗

Return all scalar values in a sequence. Equivalent to :meth:`_engine.Result.all` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned.

(self)

Source from the content-addressed store, hash-verified

2120 return self._manyrow_getter(self, size)
2121
2122 def all(self) -> Sequence[RowMapping]:
2123 """Return all scalar values in a sequence.
2124
2125 Equivalent to :meth:`_engine.Result.all` except that
2126 :class:`_engine.RowMapping` values, rather than :class:`_engine.Row`
2127 objects, are returned.
2128
2129 """
2130
2131 return self._allrows()
2132
2133 def __iter__(self) -> Iterator[RowMapping]:
2134 return self._iter_impl()

Callers

nothing calls this directly

Calls 1

_allrowsMethod · 0.80

Tested by

no test coverage detected