pdpotter commented on issue #152:
URL: https://github.com/apache/incubator-age/issues/152#issuecomment-986553148


   Agesgraph (https://github.com/bitnine-oss/agensgraph) and Apache AGE (this 
repository) are two different projects.
   
   `json_build_object` should indeed be supported by Agensgraph, but I can't 
find anything on this function for Apache AGE.
   
   You could however return the results as a list
   ```
   SELECT * from cypher('text_test', $$
             MATCH (V)-[R:connect]-(V2)
             RETURN [V,R,V2]
   $$) as (list agtype);
   ```
   or as a map
   ```
   SELECT * from cypher('text_test', $$
             MATCH (V)-[R:connect]-(V2)
             RETURN {parent: V, relation: R,child: V2}
   $$) as (map 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: [email protected]

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


Reply via email to