Database Reference
In-Depth Information
Pattern for properties
Properties are defined in nodes and relationships, which in turn help in developing richer
models.
Properties are defined in a key/value format separated with a comma, where the key is the
string and the value can either be a primitive data type such as Boolean, int, double, long,
char, string, and so on, or an array of primitive data type such as boolean[], int[], double[],
long[], char[], string[], except NULL, which is not a valid value of a property. One or more
properties can be defined using curly braces either within the node or within the relation-
ship. The following examples show the format for defining properties in a node and in a re-
lationship:
Structure / syntax for defining the property of a node.
(n:Artist {Name:"John"}) OR (n:Artist {Name:"John", Age: 24})
Structure / syntax for defining the property of a node.
[r:FRIEND {Since: 2004, LastVisited:"Jan-2015"}]
Search WWH ::




Custom Search