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

Method values

web/db.py:234–241  ·  view source on GitHub ↗

Returns the values of the parameters used in the sql query. >>> q = SQLQuery(["SELECT * FROM test WHERE name=", SQLParam('joe')]) >>> q.values() ['joe']

(self)

Source from the content-addressed store, hash-verified

232 return "".join(s)
233
234 def values(self):
235 """
236 Returns the values of the parameters used in the sql query.
237 >>> q = SQLQuery(["SELECT * FROM test WHERE name=", SQLParam('joe')])
238 >>> q.values()
239 ['joe']
240 """
241 return [i.value for i in self.items if isinstance(i, SQLParam)]
242
243 def join(items, sep=" ", prefix=None, suffix=None, target=None):
244 """

Callers 5

_strMethod · 0.95
_process_queryMethod · 0.45
_process_queryMethod · 0.45
__call__Method · 0.45
py3helpers.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected