基于节点id的IN查询-Neo4j
IN query based on node id - Neo4j
如何优化获取下面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
应该做。
如何优化获取下面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
应该做。