Postgresql – SQL query execution returns a str type instead of composite vertex and edge type in Apache AGE
I am executing the following query in Python to return the list of all nodes stored in the Apache AGE. with postgresql.cursor() as cursor: query = """SELECT * FROM cypher('graph', $$ MATCH (v) RETURN v $$) as (v agtype);""" cursor.execute(query)…