jrgemignani commented on issue #945:
URL: https://github.com/apache/age/issues/945#issuecomment-1773549306
Verified this is still an issue -
```
psql-15.4-5432-pgsql=# SELECT create_graph('movie_graph');
NOTICE: graph "movie_graph" has been created
create_graph
--------------
(1 row)
psql-15.4-5432-pgsql=# SELECT * from cypher('movie_graph', $$
psql-15.4-5432-pgsql$# CREATE (a:Part {part_num: '123'}),
psql-15.4-5432-pgsql$# (b:Part {part_num: '345'}),
psql-15.4-5432-pgsql$# (c:Part {part_num: '456'}),
psql-15.4-5432-pgsql$# (d:Part {part_num: '789'})
psql-15.4-5432-pgsql$# $$) as (a agtype);
a
---
(0 rows)
psql-15.4-5432-pgsql=# SELECT * from cypher('movie_graph', $$ match (a:Part)
return a $$) as (result agtype);
result
-------------------------------------------------------------------------------------
{"id": 844424930131969, "label": "Part", "properties": {"part_num":
"123"}}::vertex
{"id": 844424930131970, "label": "Part", "properties": {"part_num":
"345"}}::vertex
{"id": 844424930131971, "label": "Part", "properties": {"part_num":
"456"}}::vertex
{"id": 844424930131972, "label": "Part", "properties": {"part_num":
"789"}}::vertex
(4 rows)
psql-15.4-5432-pgsql=# SELECT * from cypher('movie_graph', $$ match (:Part)
return count(*) $$) as (result agtype);
result
--------
1
(1 row)
psql-15.4-5432-pgsql=# SELECT * from cypher('movie_graph', $$ match (a:Part)
return count(*) $$) as (result agtype);
result
--------
4
(1 row)
psql-15.4-5432-pgsql=#
```
--
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]