You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
Query 3 succeeds, the $name param is present but not used in the projection:
MATCH (start:TestNode{key:1})
CALL algo.dfs.stream(
'match (t:TestNode) return id(t) as id',
'match (t:TestNode)-[c:CONNECTS]->(u:TestNode) return id(t) as source, id(u) as target',
'>',
id(start),
{
graph:'cypher',
params: {name: $name}
}
)
YIELD nodeIds
UNWIND nodeIds AS nodeId
WITH algo.asNode(nodeId) AS n
RETURN n
Query 4 fails:
MATCH (start:TestNode{key:1})
CALL algo.dfs.stream(
'match (t:TestNode) where t.name <> $name return id(t) as id',
'match (t:TestNode)-[c:CONNECTS]->(u:TestNode) return id(t) as source, id(u) as target',
'>',
id(start),
{
graph:'cypher',
params: {name: $name}
}
)
YIELD nodeIds
UNWIND nodeIds AS nodeId
WITH algo.asNode(nodeId) AS n
RETURN n
Error: Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure algo.dfs.stream: Caused by: org.neo4j.cypher.ParameterNotFoundException: Expected parameter(s): name