MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / BulkUpdate

Class BulkUpdate

lib/sqlalchemy/orm/query.py:3498–3509  ·  view source on GitHub ↗

BulkUD which handles UPDATEs.

Source from the content-addressed store, hash-verified

3496
3497
3498class BulkUpdate(BulkUD):
3499 """BulkUD which handles UPDATEs."""
3500
3501 def __init__(
3502 self,
3503 query: Query[Any],
3504 values: Dict[_DMLColumnArgument, Any],
3505 update_kwargs: Optional[Dict[Any, Any]],
3506 ):
3507 super().__init__(query)
3508 self.values = values
3509 self.update_kwargs = update_kwargs
3510
3511
3512class BulkDelete(BulkUD):

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected