Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tortoise/tortoise-orm
/ execute_explain
Method
execute_explain
tortoise/backends/base/executor.py:99–101 ·
view source on GitHub ↗
(self, sql: str)
Source
from the content-addressed store, hash-verified
97
) = EXECUTOR_CACHE[key]
98
99
async
def
execute_explain(self, sql: str) -> Any:
100
sql =
" "
.join((self.EXPLAIN_PREFIX, sql))
101
return
(await self.db.execute_query(sql))[1]
102
103
async
def
execute_select(
104
self,
Callers
1
explain
Method · 0.45
Calls
1
execute_query
Method · 0.45
Tested by
no test coverage detected