我經由燈泡使用的Neo4j的REST API,我試圖與所有相關的邊經由暗號一起刪除節點是這樣的: from bulbs.neo4jserver import Graph as Neo4jGraph
db = Graph()
query = '''START d=node(57)
MATCH d-[r]-()
DELETE d,r
'''
t = db
我運行兩個相同的Neo4j DB模式下暗號查詢相同的暗號查詢: START dave = node(7)
// dave's friend who lives and attends an event in the same city
MATCH dave-[:FRIEND]-friend-[:LIVES]->city-[:HOSTS]->event<-[:ATTENDS]-friend
R
我試圖做調用一個暗號查詢(在Java)的參數傳遞參數做這樣的事情: WHERE node.property IN [{param}]
完整的示例: START person=node:persons('Name:*')
MATCH person->[:Girl]->friend
WHERE person.Name IN [{Names}] AND friend.Hair = 'Blond'