neo4j driver functions equivalent to py2neo functions
问题 def get_nlg(graph_query): driver = Graph("neo4j://localhost:7687", auth=("neo4j","password")) graph_response = graph.evaluate(graph_query) For the above code, I replaced with the driver code as below, but its not working, what is the function in neo4j driver equivalent to evaluate() function in py2neo? def get_nlg(graph_query): driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password")) with driver.session() as session: graph_response = session.run(graph_query) return