MCPcopy 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_dropFunction · 0.70
if_exists_honoredFunction · 0.70

Calls 3

plan_drop_indexFunction · 0.85
parse_sqlFunction · 0.50
expectMethod · 0.45

Tested by 3

basic_dropFunction · 0.56
if_exists_honoredFunction · 0.56