shinhanbyeol commented on issue #103:
URL: https://github.com/apache/incubator-age/issues/103#issuecomment-893986280
I don't know English well, so I don't know if I understood your question
well. If I understood your question well,
I think this question can explain your curiosity.
CREATE EXTENSION age;
LOAD 'age';
SET search_path = ag_catalog, "postgres", public;
SELECT create_graph('test_graph');
SELECT * from cypher('test_graph', $$
CREATE (a:Part {part_num: '123'}),
(b:Part {part_num: '345'}),
(c:Part {part_num: '456'}),
(d:Part {part_num: '789'})
$$) as (a agtype);
select * from cypher('test_graph', $$ match(v:Part) where id(v) =
844424930131969 return v.part_num $$) as (result text);
with a as(select * from cypher('test_graph', $$ match(v:Part) where id(v) =
844424930131969 return v.part_num $$) as (result text))
select a from a;
1. If the cypher query result is in text format, you can cast it in text
format.
2. To query using a specific id value, you can use the id function where id
function.
--
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]