Example Graph
The following examples run against this graph:

table()
Constructs an output table in the RETURN
statement.
Syntax | table(<column1>, <column2>, ...) |
||
Arguments | Name | Type | Description |
<column1> ,<column2> ,... |
Any type other than PATH |
Columns in the table | |
Return Type | RESULT_TYPE_TABLE |
MATCH (n)-[e]->()
RETURN table(n, n.title, e, e.weight)
Result:
n | n.title |
e | e.weight |
---|---|---|---|
UUID of node | Optimizing Queries | UUID of edge | 1 |
UUID of node | Efficient Graph Search | UUID of edge | 2 |