noahxzhu commented on issue #1722:
URL: https://github.com/apache/age/issues/1722#issuecomment-2040141008

   > @noahxzhu Did you try using the backslash for the cypher query? Your 
example above doesn't show it.
   > 
   > ```
   > psql-16.1-5432-pgsql=# SELECT * from ag_catalog.cypher('test', $$
   >      MERGE (n1:`Entity` {id: 'I'})
   >      MERGE (n2:`Entity` {id: 'It\'s better for technology companies to be 
run by product people'})
   >      MERGE (n1)-[:`Learned`]->(n2)
   > $$) as (a ag_catalog.agtype);
   >  a
   > ---
   > (0 rows)
   > 
   > psql-16.1-5432-pgsql=# SELECT * FROM cypher('test', $$ MATCH (v) RETURN v 
$$) AS (v agtype);
   >                                                                       v
   > 
   > 
------------------------------------------------------------------------------------------------------------------------------------
   > ----------
   >  {"id": 844424930131969, "label": "Entity", "properties": {"id": 
"I"}}::vertex
   >  {"id": 844424930131970, "label": "Entity", "properties": {"id": "It's 
better for technology companies to be run by product people"}
   > }::vertex
   > (2 rows)
   > 
   > psql-16.1-5432-pgsql=#
   > ```
   
   not work on my side, I need to investigate the reason


-- 
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