MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / null_dml_result

Function null_dml_result

lib/sqlalchemy/engine/cursor.py:1600–1603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1598
1599
1600def null_dml_result() -> IteratorResult[Any]:
1601 it: IteratorResult[Any] = IteratorResult(_NoResultMetaData(), iter([]))
1602 it._soft_close()
1603 return it
1604
1605
1606class CursorResult(Result[Unpack[_Ts]]):

Callers

nothing calls this directly

Calls 3

_soft_closeMethod · 0.95
_NoResultMetaDataClass · 0.85
IteratorResultClass · 0.70

Tested by

no test coverage detected