使用 py2neo 教程(http://book.py2neo.org/en/latest/cypher/):
from py2neo import neo4j, cypher
graph_db = neo4j.GraphDatabaseService()
query = "START a=node(1) RETURN a"
data, metadata = cypher.execute(graph_db, query)
a = data[0][0] # first row, first column
试图复制这一点,我得到:
>data[0][0]
Node('http://localhost:7474/db/data/node/1')
我如何让它返回实际数据,而不是抽象信息?