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

Method rewrite_rows

lib/sqlalchemy/engine/result.py:2228–2232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2226 self.data = result.fetchall()
2227
2228 def rewrite_rows(self) -> Sequence[Sequence[Any]]:
2229 if self._source_supports_scalars:
2230 return [[elem] for elem in self.data]
2231 else:
2232 return [list(row) for row in self.data]
2233
2234 def with_new_rows(
2235 self, tuple_data: Sequence[Row[_TP]]

Callers 1

merge_frozen_resultFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected