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

Class BulkUpdate

lib/sqlalchemy/orm/query.py:3436–3447  ·  view source on GitHub ↗

BulkUD which handles UPDATEs.

Source from the content-addressed store, hash-verified

3434
3435
3436class BulkUpdate(BulkUD):
3437 """BulkUD which handles UPDATEs."""
3438
3439 def __init__(
3440 self,
3441 query: Query[Any],
3442 values: Dict[_DMLColumnArgument, Any],
3443 update_kwargs: Optional[Dict[Any, Any]],
3444 ):
3445 super().__init__(query)
3446 self.values = values
3447 self.update_kwargs = update_kwargs
3448
3449
3450class BulkDelete(BulkUD):

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected