Halkrine edited a comment on issue #113:
URL: https://github.com/apache/incubator-age/issues/113#issuecomment-912266172


   You mean, 
   -> anyone who gives you a data, 
   -> and you have to translate that value, 
   -> and find values from vertex that created.
   -> but you forgot property label/values of specific vertex
   
   If I understood that, as a basic, it is way to you try do.
   
   1. If you know vertex name, try it.
   * test_graph is your graph path.
   `select * from cypher('test_graph', $$
   match(n:person) return n
    $$) as (n agtype) ;
   `
   2.  You can get values as a agtype.
    ex) {"id": xxxxxxxxxxxxx, "label" :"person", "properties": {"name": "nyk", 
"age:25.....}}::vertex
   
   3. "properties" is included you created values.
   
   4. If you want to find specific property name, try it.
   `select * from cypher('test_graph', $$
   match(n:person{name:'nyk'}) return n
    $$) as (n agtype) ;`
   or
   `select * from cypher('test_graph', $$
   match(n:person) where n.name='nyk' return n
    $$) as (n agtype) ;`
   
   If I understood exactly your question, maybe you can achive your question 
that queries.
   
   
   
   


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