MCPcopy Index your code
hub / github.com/piccolo-orm/piccolo / values

Method values

piccolo/query/methods/update.py:43–52  ·  view source on GitHub ↗
(
        self,
        values: Optional[dict[Union[Column, str], Any]] = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

41 # Clauses
42
43 def values(
44 self,
45 values: Optional[dict[Union[Column, str], Any]] = None,
46 **kwargs,
47 ) -> Update:
48 if values is None:
49 values = {}
50 values = dict(values, **kwargs)
51 self.values_delegate.values(values)
52 return self
53
54 def where(self, *where: Union[Combinable, QueryString]) -> Update:
55 self.where_delegate.where(*where)

Callers 3

runMethod · 0.45
runMethod · 0.45
_update_instanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected