[Neo4J] where Cypher查询语言(CQL) 语法
2020-03-22 本文已影响0人
爱上落入尘世间的你
where会对match或者optional match语句添加约束, 也可以与with语句一起使用来过滤结果
match (n)
where n:person // 标签过滤
where n.name = 'aaa' // 属性过滤
where exists(n.name) // 检查属性是否存在
where 任何比较性或者判断性的语句都可以用在这里
return n