Neo4J get node by ID

前端 未结 3 2097
囚心锁ツ
囚心锁ツ 2020-12-13 07:48

I am using neo4j for one of my project, there\'s a node which only has a single property as name, I want to get that node using ID, it already has a ID but when

3条回答
  •  眼角桃花
    2020-12-13 08:35

    MATCH (s)
    WHERE ID(s) = 65110
    RETURN s
    

    The ID function gets you the id of a node or relationship. This is different from any property called id or ID that you create.

提交回复
热议问题