标签: neo4j neo4j.rb
如何以优化方式获取以下id的节点详细信息
val = [2,4,5,6,34,32,34,54,54,31]
我试过,
WITH [2,4,5,6, ..] AS coll UNWIND coll AS x match p=(s.... return p
我无法得到它
答案 0 :(得分:0)
MATCH (p:SomeLabel) WHERE ID(p) IN [2,4,5,6] RETURN p
应该这样做。