MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _bulk_update

Function _bulk_update

lib/sqlalchemy/orm/bulk_persistence.py:258–267  ·  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

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

Callers 1

orm_execute_statementMethod · 0.85

Calls 7

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

Tested by

no test coverage detected