Munmud opened a new issue, #831: URL: https://github.com/apache/age/issues/831
Whats the difference between `execCypher()` and `cypher()` int age.py I am going through the `test_age_py.py` file and in testCollect() I found these 2 function both for retriving the node data ```py print(" - COLLECT 1 --------") with ag.connection.cursor() as cursor: ag.cypher(cursor, """ MATCH (a)-[:workWith]->(c) WITH a as V, COLLECT(c) as CV RETURN V.name, CV """, cols=["V","CV"]) for row in cursor: nm = row[0] collected = row[1] print(nm, "workWith", [i["name"] for i in collected]) self.assertEqual(3,len(collected)) ``` ```py print(" - COLLECT 2 --------") for row in ag.execCypher( """ MATCH (a)-[:workWith]->(c) WITH a as V, COLLECT(c) as CV RETURN V.name, CV """ , cols=["V1","CV"]): nm = row[0] collected = row[1] print(nm, "workWith", [i["name"] for i in collected]) self.assertEqual(3,len(collected)) ``` -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org