Cypher provides first class support for a number of data types.
These fall into several categories which will be described in detail in the following subsections:
Property types comprise:
The adjective numeric, when used in the context of describing Cypher functions or expressions, indicates that any type of Number applies (Integer or Float).
Homogeneous lists of simple types can also be stored as properties, although lists in general (see Composite types) cannot be stored.
Cypher also provides pass-through support for byte arrays, which can be stored as property values. Byte arrays are not considered a first class data type by Cypher, so do not have a literal representation.
|Sorting of special characters|
Strings that contain characters that do not belong to the Basic Multilingual Plane (BMP) can have inconsistent or non-deterministic ordering in Neo4j. BMP is a subset of all characters defined in Unicode. Expressed simply, it contains all common characters from all common languages.
Structural types comprise:
Nodes, relationships, and paths are returned as a result of pattern matching.
Labels are not values but are a form of pattern syntax.
Composite types comprise:
Maps are heterogeneous, unordered collections of (key, value) pairs, where:
Composite values can also contain
Special care must be taken when using
null (see Section 2.14, “Working with