Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ plan
Function
plan
nodedb-sql/src/planner/index_ddl/drop.rs:57–60 ·
view source on GitHub ↗
(sql: &str)
Source
from the content-addressed store, hash-verified
55
use crate::parser::statement::parse_sql;
56
57
fn plan(sql: &str) -> Result<SqlPlan> {
58
let stmts = parse_sql(sql).expect(
"parse"
);
59
plan_drop_index(&stmts[0])
60
}
61
62
#[test]
63
fn basic_drop() {
Callers
3
basic_drop
Function · 0.70
if_exists_honored
Function · 0.70
schema_qualified_name_rejected
Function · 0.70
Calls
3
plan_drop_index
Function · 0.85
parse_sql
Function · 0.50
expect
Method · 0.45
Tested by
3
basic_drop
Function · 0.56
if_exists_honored
Function · 0.56
schema_qualified_name_rejected
Function · 0.56