2019年1月14日

摘要: unwind;可以将一个列表展开为一个行的序列1.列表 unwind[1,2,3]as x return x2.创建唯一列表with[1,2,3,3]as coll unwind coll as x with distinct x return collect(x)as set3.从列表参数创建节点 阅读全文
posted @ 2019-01-14 17:42 happygril3 阅读(407) 评论(0) 推荐(0)
摘要: 可以在结果传递到后面之前对结果进行操作 通常是order by 和limit create(anders:Person{Name:"Anders"}),(ceasar:Person{Name:"Ceasar"}),(bossman:Person{Name:"Bossman"}),(emit:Pers 阅读全文
posted @ 2019-01-14 17:28 happygril3 阅读(86) 评论(0) 推荐(0)
摘要: 1.节点不存在 create(anders:Person{Name:"Anders"}),(ceasar:Person{Name:"Ceasar"}),(bossman:Person{Name:"Bossman"}),(emit:Person{Name:"Emit"}),(david:Person{ 阅读全文
posted @ 2019-01-14 17:07 happygril3 阅读(109) 评论(0) 推荐(0)
摘要: :params {name:"Keanu Reeves",role:"Neo"} merge(person:Person{name:$name,role:$role})return person.name,person.role 阅读全文
posted @ 2019-01-14 15:19 happygril3 阅读(67) 评论(0) 推荐(0)
摘要: create(olive:Person{chau:"Bill White",name:"Olive Stone",bornin:"New York"}),(charlie:Person{chau:"John Brown",name:"Charlie Sheen",bornin:"New York"} 阅读全文
posted @ 2019-01-14 14:50 happygril3 阅读(163) 评论(0) 推荐(0)
摘要: (1)CREATE可以创建相同节点,merge若节点已存在,则不会重新添加。 CREATE (gp1:GoogleProfile1 {Id: 201401, Name:"Apple"}) CREATE (gp1:GoogleProfile1 {Id: 201401, Name:"Apple"}) M 阅读全文
posted @ 2019-01-14 14:20 happygril3 阅读(234) 评论(0) 推荐(0)

导航