如何,我可以以优化的方式获得以下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
我无法获得
MATCH (p:SomeLabel)
WHERE ID(p) IN [2,4,5,6]
RETURN p
应该这样做。