Skip to main content

neighbors_sql

Function neighbors_sql 

Source
pub fn neighbors_sql(
    edge_table: &str,
    seed_ids: &[String],
    realms: &[String],
    limit: usize,
) -> String
Expand description

One-hop neighbour edges for a set of seed node ids (both directions), used to graph-expand a contextual subgraph. Returns edge rows; the orchestrator derives the far endpoint per seed and follows target_namespace for cross-graph (catalog resource / trace) links. Caller must pass ≥1 seed.