MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / final_sql

Method final_sql

explorer/models.py:96–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 return passes_blacklist(self.final_sql())
95
96 def final_sql(self):
97 return swap_params(self.sql, self.available_params())
98
99 def execute_query_only(self):
100 # check blacklist every time sql is run to catch parameterized SQL

Callers 5

passes_blacklistMethod · 0.95
execute_query_onlyMethod · 0.95
logMethod · 0.95

Calls 2

available_paramsMethod · 0.95
swap_paramsFunction · 0.90