rafsun42 commented on issue #1413:
URL: https://github.com/apache/age/issues/1413#issuecomment-1823195376

   @ajit-satav 
   
   Both with and without `*` produced same result on the latest master.
   ```
   (pg-15.4) agedev=# SELECT *
   FROM cypher('demo', $$
   MATCH (a:Employee{name:'xxxx'})-[]-(b)
   RETURN a
   $$) as (a agtype);
                                              a                                 
          
   
---------------------------------------------------------------------------------------
    {"id": 1125899906842625, "label": "Employee", "properties": {"name": 
"xxxx"}}::vertex
   (1 row)
   ```
   ```
   (pg-15.4) agedev=# SELECT *
   FROM cypher('demo', $$
   MATCH (a:Employee{name:'xxxx'})-[*]-(b)
   RETURN a
   $$) as (a agtype);
                                              a                                 
          
   
---------------------------------------------------------------------------------------
    {"id": 1125899906842625, "label": "Employee", "properties": {"name": 
"xxxx"}}::vertex
   (1 row)
   ```
   
   I created the entities using-
   ```sql
   SELECT * FROM cypher ('demo', $$ CREATE 
(a:Employee{name:'xxxx'})-[:rel]->(b) $$) as (a agtype);
   ```


-- 
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: dev-unsubscr...@age.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to