petrarca opened a new issue, #1944:
URL: https://github.com/apache/age/issues/1944

   Hello,
   there seems no way to convert a ::vertex or ::edge to a jsonb or ::text.
   There is a function agetype_to_text which works only on scalar-values but 
not on that data types.
   
   ```
   SELECT agtype_to_text(p) FROM cypher('graph1', $$
   match (p) return p
   $$) as (p agtype)
   
   ```-- does not work
   
   ```
   SELECT p::jsonb FROM cypher('graph1', $$
   match (p) return p
   $$) as (p agtype)
   
   ```-- does neither work
   
   Any ideas to extract at least the properties for ::vertex or ::edge from SQL?


-- 
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.apache.org

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

Reply via email to