jrgemignani commented on issue #466:
URL: https://github.com/apache/age/issues/466#issuecomment-1367571298
It works on the current master for 11.5. What environment (OS, PG, AGE
versions) are you using?
```
psql-11.5-5432-pgsql=# select * from cypher('test', $$ match (u) return u
$$) as (n agtype);
n
---
(0 rows)
psql-11.5-5432-pgsql=# select * from cypher('test', $$ create (u
{name:"ONE"}) return u $$) as (n agtype);
n
-----------------------------------------------------------------------------
{"id": 281474976710657, "label": "", "properties": {"name": "ONE"}}::vertex
(1 row)
psql-11.5-5432-pgsql=# select * from cypher('test', $$ create (u
{name:"TWO"}) return u $$) as (n agtype);
n
-----------------------------------------------------------------------------
{"id": 281474976710658, "label": "", "properties": {"name": "TWO"}}::vertex
(1 row)
psql-11.5-5432-pgsql=# SELECT *
FROM ag_catalog.cypher('test', $$
MATCH (source), (sink)
WHERE source.name = 'ONE' AND sink.name = 'TWO'
CREATE (source)-[e:REL { value: 0 }]->(sink)
RETURN e
$$) as (e ag_catalog.agtype);
e
-----------------------------------------------------------------------------------------------------------------------------------
{"id": 844424930131969, "label": "REL", "end_id": 281474976710658,
"start_id": 281474976710657, "properties": {"value": 0}}::edge
(1 row)
psql-11.5-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]