HelixQL
Properties
Accessing or modifying properties of a node, edge, or vector
1. Property Access
Accessing Properties
Appending the above to the end of a traversal will return an object with the specified properties like so:
Accessing the ID
Spread Operator
Using the spread operator, you can include all properties of the selected element in the returned object.
2. Property Addition
By defining new properties, you can modify the object returned by the traversal. The above will return an object like so:
3. Property Exclusion
If you want to access all properties except for a few, you can use the exclude operator.
4. Nested Mappings
If you want to access a propertis that traverse from the selected element, you can use the nested variable to continue the traversal.
5. Returning a Range
To return an certain amount of elements, you can use the RANGE
function.
Was this page helpful?