MCPcopy
hub / github.com/tortoise/tortoise-orm / parameter

Method parameter

tortoise/backends/base/executor.py:186–187  ·  view source on GitHub ↗
(self, pos: int)

Source from the content-addressed store, hash-verified

184 raise NotImplementedError() # pragma: nocoverage
185
186 def parameter(self, pos: int) -> Parameter:
187 return Parameter(idx=pos + 1)
188
189 def _has_db_default_values(self, instance: Model, columns: list[str]) -> bool:
190 """Check whether any column on the instance still holds a DatabaseDefault sentinel."""

Callers 6

__init__Method · 0.95
get_update_sqlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected