You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by GitBox <gi...@apache.org> on 2021/08/06 04:50:36 UTC

[GitHub] [incubator-age] shinhanbyeol edited a comment on issue #103: How can I get values as specific type when using 'with'?

shinhanbyeol edited a comment on issue #103:
URL: https://github.com/apache/incubator-age/issues/103#issuecomment-893996470


   Is this what you want?
   
   select "result", "id" from cypher('test_graph', $$ match(v:Part) where id(v) = 844424930131969 return v.part_num , id(v) $$) as (result text, id text);
   
   with a as(
   	select * from cypher('test_graph', $$ match(v:Part) where id(v) = 844424930131969 return v.part_num , id(v) $$) as (result text, id text)
   )
   select "result", "id" from a;
   
   
   ![image](https://user-images.githubusercontent.com/76985229/128456980-406a68d6-bf74-44f4-99ed-efcaf85276b5.png)
   
   


-- 
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-unsubscribe@age.apache.org

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