Skip to main content

kg_bfs

Function kg_bfs 

Source
pub fn kg_bfs(
    context: *mut sqlite3_context,
    values: &[*mut sqlite3_value],
) -> Result<(), Error>
Expand description

kg_bfs() - BFS traversal from a starting entity Parameters: start_id (INTEGER), max_depth (INTEGER, default 3) Returns JSON array of {entity_id, depth} objects