jrgemignani commented on issue #1225:
URL: https://github.com/apache/age/issues/1225#issuecomment-1771461518

   @cho2hhun Maybe this will be helpful -
   
   ```
   psql-15.4-5432-pgsql=# SELECT * FROM cypher('graph_name', $$ WITH [null] as 
lst RETURN ag_catalog.agtype_out(lst) $$) AS (result text);
    result
   --------
    [null]
   (1 row)
   
   psql-15.4-5432-pgsql=# SELECT pg_typeof(result) FROM cypher('graph_name', $$ 
WITH [null] as lst RETURN ag_catalog.agtype_out(lst) $$) AS (result text);
    pg_typeof
   -----------
    text
   (1 row)
   
   psql-15.4-5432-pgsql=# SELECT to_json(result) FROM cypher('graph_name', $$ 
WITH [null] as lst RETURN ag_catalog.agtype_out(lst) $$) AS (result text);
    to_json
   ----------
    "[null]"
   (1 row)
   
   psql-15.4-5432-pgsql=# SELECT to_jsonb(result) FROM cypher('graph_name', $$ 
WITH [null] as lst RETURN ag_catalog.agtype_out(lst) $$) AS (result text);
    to_jsonb
   ----------
    "[null]"
   (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: dev-unsubscr...@age.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to