NEO4J -模糊查询
- 模糊查询
match(emp) where emp.name =~'.*haha.*' return emp
- 现有节点创建关系
MATCH (cust:Customer),(cc:CreditCard)
CREATE (cust)-[r:DO_SHOPPING_WITH{shopdate:"12/12/2014",price:55000}]->(cc)
RETURN r
- Skip 和limit
MATCH (emp:Employee)
RETURN emp
SKIP 2 limit 1
- where 条件查询
MATCH (emp:Employee)
WHERE emp.name = 'Abc'
RETURN emp
- IN
MATCH (e:Employee)
WHERE e.id IN [123,124]
RETURN e.id,e.name,e.sal,e.deptno
原文地址:https://blog.csdn.net/qq_32662595/article/details/79876345