MCPcopy Index your code
hub / github.com/webpy/webpy / __radd__

Method __radd__

web/db.py:185–192  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

183 return SQLQuery(self.items + items)
184
185 def __radd__(self, other):
186 if isinstance(other, str):
187 items = [other]
188 elif isinstance(other, SQLQuery):
189 items = other.items
190 else:
191 return NotImplemented
192 return SQLQuery(items + self.items)
193
194 def __iadd__(self, other):
195 if isinstance(other, (str, SQLParam)):

Callers

nothing calls this directly

Calls 1

SQLQueryClass · 0.85

Tested by

no test coverage detected