match (a:hardfig)-[r]-() where not id(a) in [1345 ,1346 ,1298 ] return a
注意是: not id(a) in
而不是: id(a) not in
本文介绍了一种使用Cypher查询语言中的排除法进行数据检索的方法。通过具体的代码示例展示了如何利用not id(a) in指定ID列表的方式从图数据库中排除特定节点。
match (a:hardfig)-[r]-() where not id(a) in [1345 ,1346 ,1298 ] return a
注意是: not id(a) in
而不是: id(a) not in
1225

被折叠的 条评论
为什么被折叠?