jrgemignani commented on issue #1944: URL: https://github.com/apache/age/issues/1944#issuecomment-2204569652
@petrarca Here is a way - ``` psql-16.2-5432-psql=# SELECT * FROM cypher('test', $$ match (p) return ag_catalog.agtype_out(p) $$) as (p text); p ------------------------------------------------------------------------------ {"id": 281474976710657, "label": "", "properties": {"name": "John"}}::vertex (1 row) psql-16.2-5432-psql=# SELECT pg_typeof(p) FROM cypher('test', $$ match (p) return ag_catalog.agtype_out(p) $$) as (p text); pg_typeof ----------- text (1 row) psql-16.2-5432-psql=# ``` ``` psql-16.2-5432-psql=# SELECT * FROM cypher('test', $$ match (p) return ag_catalog.agtype_out(properties(p)) $$) as (p text); p ------------------ {"name": "John"} (1 row) psql-16.2-5432-psql=# SELECT pg_typeof(p) FROM cypher('test', $$ match (p) return ag_catalog.agtype_out(properties(p)) $$) as (p text); pg_typeof ----------- text (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