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

Method _process_query

web/db.py:762–767  ·  view source on GitHub ↗

Takes the SQLQuery object and returns query string and parameters.

(self, sql_query)

Source from the content-addressed store, hash-verified

760 return out
761
762 def _process_query(self, sql_query):
763 """Takes the SQLQuery object and returns query string and parameters."""
764 paramstyle = getattr(self, "paramstyle", "pyformat")
765 query = sql_query.query(paramstyle)
766 params = sql_query.values()
767 return query, params
768
769 def _where(self, where, vars):
770 if isinstance(where, int):

Callers 1

_db_executeMethod · 0.95

Calls 2

queryMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected