jrgemignani commented on issue #1033:
URL: https://github.com/apache/age/issues/1033#issuecomment-1634946669

   @MuhammadTahaNaveed Actually, you are correct. The edges are returned in a 
list of edges for vle matches. It is just that in this case, there is only one 
edge in the path, in that list.
   
   Here is a list of 2 -
   
   ```
   psql-13.9-5432-pgsql=# SELECT * FROM cypher('graph',$$ MATCH ()-[e*2..2]->() 
RETURN e $$) as (a agtype);
                                                                                
                                                      a
   
   
------------------------------------------------------------------------------------------------------------------------------------
   
------------------------------------------------------------------------------------------------------------------------------------
    [{"id": 1125899906842626, "label": "knows", "end_id": 281474976710664, 
"start_id": 281474976710663, "properties": {"id": 0}}::edge,
    {"id": 1125899906842625, "label": "knows", "end_id": 281474976710665, 
"start_id": 281474976710664, "properties": {"id": 1}}::edge]
   (1 row)
   
   psql-13.9-5432-pgsql=#
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to