0
使用py2neo教程(http://book.py2neo.org/en/latest/cypher/):Py2neo暗號查詢返回的實例方法
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')
我如何得到這個返回的實際數據,而不是抽象的信息?