Graph Traversal/Item Properties
Property Access
Accessing or modifying properties of a node, edge, or vector
Accessing Properties
You can access properties of an item by using the name of the property as defined in the schema.
Example
Here we are accessing the Name
and Age
properties of the first 10 users.
Accessing ID
Here we are accessing the ID
of the first 10 users.
Spread Operator
Using the spread operator, you can remap values while including all other properties of the selected element in the returned object.
Example
Here we are returning properties and remapping the ID
field to userID
for the first 10 users.