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

Function _bulk_update

lib/sqlalchemy/orm/bulk_persistence.py:255–264  ·  view source on GitHub ↗
(
    mapper: Mapper[Any],
    mappings: Union[Iterable[InstanceState[_O]], Iterable[Dict[str, Any]]],
    session_transaction: SessionTransaction,
    *,
    isstates: bool,
    update_changed_only: bool,
    use_orm_update_stmt: Literal[None] = ...,
    enable_check_rowcount: bool = True,
)

Source from the content-addressed store, hash-verified

253
254@overload
255def _bulk_update(
256 mapper: Mapper[Any],
257 mappings: Union[Iterable[InstanceState[_O]], Iterable[Dict[str, Any]]],
258 session_transaction: SessionTransaction,
259 *,
260 isstates: bool,
261 update_changed_only: bool,
262 use_orm_update_stmt: Literal[None] = ...,
263 enable_check_rowcount: bool = True,
264) -> None: ...
265
266
267@overload

Callers 1

orm_execute_statementMethod · 0.85

Calls 7

_changed_dictFunction · 0.85
_expand_compositesFunction · 0.85
isaMethod · 0.80
unionMethod · 0.45
connectionMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected