Bootstrap

eno4j 基础 CQL 学习

eno4j 基础 CQL 学习

创建节点

create (:person {name: 'xl-9527'})
create (:person {name: 'xl'})

查询

match (n:person) where n.name = 'xl' return n.name

创建联系

match (n:person), (m:person) where n.name = 'xl' create (n)-[(:r {type= 'relation'})]->(m)

删除

match (n:person {name: 'xl-9527'}) delete n
;