- 根据节点id查询,两种方式:
- start n = node(77437402) return n
- match (e:ent) where id(e)=77437402 return e
- 查询包含某个字符的节点或关系
match (e:ent)-[r:hold5..]->() where e.name=~".集团.*" return e limit 500 - in
match (n) where id(n) IN[111,22,34] return n - 是否存在属性
match (n) where exists(n.entname) return n - start with和end with
match (n) where n.name starts with ‘北京’ return n - 包含
match (n) where n.entname contains ‘北京’ return n limit 200