mahinash26 commented on issue #831: URL: https://github.com/apache/age/issues/831#issuecomment-1529068506
There are two functions for executing Cypher queries in PostgreSQL: execCypher() and cypher(). The execCypher() function uses a PostgreSQL-prepared statement to execute the Cypher query. This method is more robust regarding error handling because it detects and handles errors better than cypher(). The cypher() function, on the other hand, builds a PostgreSQL statement that performs the Cypher query using the buildCypher() function. This approach is more customizable and flexible as it allows for more control over the details of the query execution. Simply put, execCypher() is a safer and more reliable method for executing Cypher queries, while cypher() gives users more control and flexibility over how the queries are executed. -- 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