How to get back data without knowing the KEY?

def _query_by_cypher(tx, query):
        results =

Let's say I want a function to accept users' any cypher string as arguments, and return results. I know normally in order to access data from the "resutls" variable, I need to know some key so that I can do:
[record['count'] for record in results]

But in this case, I have no idea of any possible 'key' that may be used in the 'RETURN ... AS ...' pattern. Is there still a way to get back the data from the results variable without knowing any details of the cypher query beforehand?

Hello @lingvisa :slight_smile:

You can use index (0, 1, 2, etc.) if you don't know the keys.