上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 56 下一页

2019年1月15日

摘要: union:列名称应该相同,列的数据类型应该相通 不返回重复的值 create(:Creditcard{number:111111,name:"aaaaaa"}),(:Creditcard{number:222222,name:"bbbbbb"}) create(:Debitcard{number: 阅读全文
posted @ 2019-01-15 14:22 happygril3 阅读(163) 评论(0) 推荐(0)

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 阅读(406) 评论(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 阅读(81) 评论(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 阅读(108) 评论(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 阅读(66) 评论(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 阅读(161) 评论(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 阅读(229) 评论(0) 推荐(0)

2019年1月11日

该文被密码保护。 阅读全文
posted @ 2019-01-11 18:43 happygril3 阅读(0) 评论(0) 推荐(0)
摘要: 标准错误(std.err):直接打印到屏幕 标准输出(std.out):需要缓存后再输出到屏幕 sys.stdout.write("stdout1") sys.stderr.write("stderr1") sys.stdout.write("stdout2") sys.stderr.write(" 阅读全文
posted @ 2019-01-11 18:24 happygril3 阅读(223) 评论(0) 推荐(0)

2019年1月10日

摘要: Neo4j底层默认是不支持类似于time,datetime等时间格式存储的,因此日期可以通过系统的timestamp()函数来获取当前的时间 2019-01-10 return apoc.date.parse("2019-01-10","s","yyyy-MM-dd") 秒 1547078400(1 阅读全文
posted @ 2019-01-10 11:18 happygril3 阅读(692) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 56 下一页

导航