@staticmethod def _getUser(tx, user_id): query = ( 'MATCH (u:User) ' 'WHERE u.user_id = $user_id ' 'RETURN u') return tx.run(query, user_id=user_id)
Here is my transaction function, the whole code is too many pages to post. Was wondering why this is not returning anything in result (e.g. result.single() == None).
I am sending it using session.read_transaction(self._getUser, user_id)
This is something I can't really debug without being a Neo4j driver author.