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

Function dispatch_plan

nodedb/src/control/server/http/routes/document.rs:30–37  ·  view source on GitHub ↗

Dispatch a physical plan and await the response.

(
    state: &AppState,
    tenant_id: TenantId,
    collection: &str,
    plan: PhysicalPlan,
)

Source from the content-addressed store, hash-verified

28
29/// Dispatch a physical plan and await the response.
30pub(super) async fn dispatch_plan(
31 state: &AppState,
32 tenant_id: TenantId,
33 collection: &str,
34 plan: PhysicalPlan,
35) -> Result<Vec<u8>, ApiError> {
36 dispatch_plan_with_trace(state, tenant_id, collection, plan, TraceId::ZERO).await
37}
38
39/// Dispatch a physical plan with trace ID and await the response.
40pub(super) async fn dispatch_plan_with_trace(

Callers 1

crdt_applyFunction · 0.70

Calls 1

dispatch_plan_with_traceFunction · 0.85

Tested by

no test coverage detected