MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / extract_collection

Function extract_collection

nodedb-sql/src/planner/cte.rs:534–539  ·  view source on GitHub ↗
(plan: &SqlPlan)

Source from the content-addressed store, hash-verified

532}
533
534fn extract_collection(plan: &SqlPlan) -> String {
535 match plan {
536 SqlPlan::Scan { collection, .. } => collection.clone(),
537 _ => String::new(),
538 }
539}
540
541fn extract_filters(plan: &SqlPlan) -> Vec<Filter> {
542 match plan {

Callers 2

plan_recursive_cteFunction · 0.70

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected