Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-19-2020 02:45 PM
I am calling algo.graph.load(node-query, relationship-query, {graph: 'cypher})
where node-query and relationship-query are both parameterized. What is the proper syntax for passing the query parameters in this case? Is it possible?
By way of illustration, let's say the node-query and relationship-query queries contain an $project parameter. I've tried two ways. Neither seem to work:
..{graph:'cypher',project:'Blah'}
graph.run(cypher-code, parameters = params)
where cypher-code is string 'CALL algo.graph.load(,,...' and params is a dict containing project {"project": "Blah"}
Solved! Go to Solution.
02-21-2020 08:35 AM
Try this:
...,{graph:'cypher', params:{project:'Blah'}})
and then use $project
in your node and/or relationship queries.
02-21-2020 08:35 AM
Try this:
...,{graph:'cypher', params:{project:'Blah'}})
and then use $project
in your node and/or relationship queries.
02-28-2020 08:02 AM
Aha! Makes sense. I will give your syntax a try. Thanks very much Seyed!
All the sessions of the conference are now available online