aplbrain / aplbrain/grand-cypher
edge hop should return edge list
- Dominant language
- Python
- Stars
- 129
- Forks
- 17
- PR merge metrics
- PR metrics pending
Description
To better follow Neo4j cypher specs, grand-cypher can check and return edge hops as following.
| edge hop value| return type | description | error on filter or return|
|----------|----------|----------|----------|
|r*0| [] | empty list to return r| Type error: Cannot access property 'weight' on a list|
| r*1 | {} | attributes of the edge or value of a single attribute||
| r*2 | [{}, {}] | attributes of the edge|Type error: Cannot access property 'weight' on a list|
| r*0..2 | [], {}, [{}] | depending on what are the real matches of r| depending on what are the real matches of r|
This will make more sense to implement operator like any, all, collect on edge.
This might lead to some backward incompatible.
Hi @j6k4m8 @davidmezzetti what do you think?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.