jrgemignani commented on issue #299:
URL: https://github.com/apache/age/issues/299#issuecomment-1248563186
`psql-11.5-5432-pgsql=# SELECT create_graph('graph_path');
NOTICE: graph "graph_path" has been created
create_graph
--------------
(1 row)
psql-11.5-5432-pgsql=# SELECT * FROM ag_catalog.cypher('graph_path', $$
CREATE (:L {a: 1, b: 2, c: 3}), (:L {a: 2, b: 3, c: 1}), (:L {a: 3, b: 1, c:
2}) $$) as (a ag_catalog.agtype);
a
---
(0 rows)
psql-11.5-5432-pgsql=# SELECT * FROM ag_catalog.cypher('graph_path', $$
MATCH (x:L) RETURN (x.a + x.b + x.c) + count(*) + count(*), x.a + x.b + x.c $$)
as (count ag_catalog.agtype, key ag_catalog.agtype);
count | key
-------+-----
12 | 6
(1 row)
psql-11.5-5432-pgsql=#
`
This works for me,... how did you load the extension?
--
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]