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.

How does Py2Neo use parameters to make repeat queries faster?

I am trying to make a simple API to interact with my database. Given input of an ID look up I want to return a subgraph of all related Ids. My question is how can I parameterize this in Py2Neo so I use the same query execution plan in Cache to speed up the API. I have seen how to do this in Cypher and Cypher-shell. Wondering what it takes to do this in Py2Neo..

2 REPLIES 2

There are several functions in py2neo that take a statement and parameters

e.g.

Thanks for the explanation. Cheers.