值和类型
Cypher 为许多数据类型提供一流的支持。
属性类型
- 可以从 Cypher 查询中返回
- 可用作参数
- 可以存储为属性
- 可用于构建Cypher表达式
属性类型包括Number、String、Boolean,Number是一种象数据类型,它包括Integer、Float;
空间类型 Point
时间类型 Date,Time,LocalTime,DateTime
,LocalDateTime和Duration
结构类型
- 可以从 Cypher 查询中返回
- 可用作参数
- 可以存储为属性
- 可用于构建Cypher表达式
1.Node(Id,Label,Map),Map是Node的一种属性
2.Relationship(Id,Type,Map,Id of the start node,Id of the end node)
3.Path 节点和边的交替序列
组成类型
- 可以从 Cypher 查询中返回
- 可用作参数
- 可以存储为属性
- 可用于构建Cypher表达式
1.List,一个异构的、有序的值集合,每个值都可以是当前的三种数据类型
2.Map,键值对,键需要是字符串,值可以是任何数据类型