moaz178 commented on issue #831: URL: https://github.com/apache/age/issues/831#issuecomment-1518995598
The cypher() method sends a Cypher query to the Neo4j server and returns a cursor object that allows you to iterate over the results of the query. The cursor object is similar to a generator that generates rows of data as you iterate over it. The cypher() method is useful if you want to process the results of a query row-by-row,meaning, if you have a large dataset and want to avoid loading it all into memory at once. The execCypher() method sends a Cypher query to the Neo4j server and returns the result of the query as a Python object. The type of the Python object depends on the type of the result returned by the Cypher query. For example, if the query returns a single value, execCypher() returns that value as a Python scalar type. If the query returns a set of values, execCypher() returns a list of dictionaries, where each dictionary represents a row of the result set and maps column names to values. -- 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