jrgemignani commented on issue #2067: URL: https://github.com/apache/age/issues/2067#issuecomment-2304836463
@alexgraul This has been addressed in the current, unreleased, development branches. If you would like to try those branches, you can build them directly or use the **unsupported** `DockerHub dev_snapshot_<branch>` Fx: `dev_snapshot_PG16` ``` psql-16.2-5432-psql=# select from create_graph('mygraph'); NOTICE: graph "mygraph" has been created -- (1 row) psql-16.2-5432-psql=# SELECT * FROM cypher('mygraph', $$ psql-16.2-5432-psql$# MERGE (a:Airport { code: 'ATL'}) psql-16.2-5432-psql$# MERGE (b:Airport { code: 'LHR'}) psql-16.2-5432-psql$# MERGE (c:Airport { code: 'LGW'}) psql-16.2-5432-psql$# $$) AS (value agtype); value ------- (0 rows) psql-16.2-5432-psql=# SELECT * FROM cypher('mygraph', $$ psql-16.2-5432-psql$# MATCH (left:Airport) WHERE left.code = 'LHR' psql-16.2-5432-psql$# MATCH (right:Airport) WHERE right.code = 'LGW' psql-16.2-5432-psql$# MERGE (left)-[edge:ROUTE { code: 1 }]->(right) psql-16.2-5432-psql$# SET edge.foo = 2 psql-16.2-5432-psql$# SET edge.bar = 2 psql-16.2-5432-psql$# RETURN edge psql-16.2-5432-psql$# $$) AS (value agtype); value ------------------------------------------------------------------------------------------------------------------------------------ --------------------- {"id": 1125899906842625, "label": "ROUTE", "end_id": 844424930131971, "start_id": 844424930131970, "properties": {"bar": 2, "foo": 2, "code": 1}}::edge (1 row) psql-16.2-5432-psql=# SELECT * FROM cypher('mygraph', $$ psql-16.2-5432-psql$# MATCH (:Airport)-[r:ROUTE { code: 1 }]->(:Airport) psql-16.2-5432-psql$# RETURN r psql-16.2-5432-psql$# $$) AS (value agtype); value ------------------------------------------------------------------------------------------------------------------------------------ --------------------- {"id": 1125899906842625, "label": "ROUTE", "end_id": 844424930131971, "start_id": 844424930131970, "properties": {"bar": 2, "foo": 2, "code": 1}}::edge (1 row) psql-16.2-5432-psql=# SELECT * FROM cypher('mygraph', $$ psql-16.2-5432-psql$# MATCH (left:Airport) WHERE left.code = 'ATL' psql-16.2-5432-psql$# MATCH (right:Airport) WHERE right.code = 'LGW' psql-16.2-5432-psql$# MERGE (left)-[edge:ROUTE { code: 2 }]->(right) psql-16.2-5432-psql$# SET edge.foo = 2 psql-16.2-5432-psql$# RETURN edge psql-16.2-5432-psql$# $$) AS (value agtype); value ------------------------------------------------------------------------------------------------------------------------------------ ----------- {"id": 1125899906842626, "label": "ROUTE", "end_id": 844424930131971, "start_id": 844424930131969, "properties": {"foo": 2, "code": 2}}::edge (1 row) psql-16.2-5432-psql=# SELECT * FROM cypher('mygraph', $$ psql-16.2-5432-psql$# MATCH (:Airport)-[r:ROUTE { code: 2 }]->(:Airport) psql-16.2-5432-psql$# RETURN r psql-16.2-5432-psql$# $$) AS (value agtype); value ------------------------------------------------------------------------------------------------------------------------------------ ----------- {"id": 1125899906842626, "label": "ROUTE", "end_id": 844424930131971, "start_id": 844424930131969, "properties": {"foo": 2, "code": 2}}::edge (1 row) psql-16.2-5432-psql=# ``` -- 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