MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _fetchiter_impl

Method _fetchiter_impl

lib/sqlalchemy/engine/cursor.py:2364–2371  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2362 return self.context.isinsert
2363
2364 def _fetchiter_impl(self) -> Iterator[Any]:
2365 fetchone = self.cursor_strategy.fetchone
2366
2367 while True:
2368 row = fetchone(self, self.cursor)
2369 if row is None:
2370 break
2371 yield row
2372
2373 def _fetchone_impl(self, hard_close: bool = False) -> Any:
2374 return self.cursor_strategy.fetchone(self, self.cursor, hard_close)

Callers 1

_raw_row_iteratorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected