cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Link Call (Procedure) with CALL (Subquery)

Hi i have multiples trees not linked betwent theirs, but always concatenate with a path into father and more deep son. My objective is obtain a subgraph for do generic queries, like neo4j browser but with subqueries.

I am making a query that extract a subqueries using father (program entity) id and them i want link with CALL subquery, but this call use all DB like scope, i must use only subgraph like scope.

MATCH (p:PROGRAM)
WHERE p.ID='Project-47307fae-30cf-4cc5-b052-6b3c5e994b1d'
CALL apoc.path.subgraphNodes(p, {
    minLevel: 0
})
YIELD node
CALL {
    MATCH (n:PROGRAM) RETURN n
} return * 
0 REPLIES 0