jrgemignani commented on issue #84:
URL: https://github.com/apache/incubator-age/issues/84#issuecomment-857199330


   What version are you using? This is from the latest pull of the master on 
github -
   
   ```
   psql-11.5-5432-pgsql=# SELECT * FROM cypher('G', $$CREATE (:begin {name : 
'John'})-[:edge1 {name: '1'}]->(:middle)-[:edge1 {name: 
'2'}]->(:middle)-[:edge2 {name: '1'}]->(:middle)-[:edge2 {name: '2'}]->(:end) 
$$) AS (a agtype);                                       a
   ---
   (0 rows)
   
   psql-11.5-5432-pgsql=# SELECT *  FROM ag_catalog.cypher('G', $$ MATCH 
(n:begin {name: 'John'}) WHERE n.name = 'John' RETURN n $$) as (v agtype);
                                            v
   
-----------------------------------------------------------------------------------
    {"id": 844424931131979, "label": "begin", "properties": {"name": 
"John"}}::vertex
   (1 row)
   
   psql-11.5-5432-pgsql=# SELECT * FROM ag_catalog.cypher('G', $$ MATCH 
(n:begin {name: 'John'}) WHERE n.name = 'John' RETURN n.name $$) as (v agtype);
      v
   --------
    "John"
   (1 row)
   
   psql-11.5-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.

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


Reply via email to