Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_blacklist
Method · 0.95
execute_query_only
Method · 0.95
log
Method · 0.95
test_final_sql_uses_merged_params
Method · 0.80
test_final_sql_fails_blacklist_with_bad_param
Method · 0.80
Calls
2
available_params
Method · 0.95
swap_params
Function · 0.90
Tested by
2
test_final_sql_uses_merged_params
Method · 0.64
test_final_sql_fails_blacklist_with_bad_param
Method · 0.64