But this cypher returns 1 million data and it takes too long (sometimes it doesn't even finish, the app just crashes). I read that I can use apoc.cypher.parallel for better performance but it throws an error and I can't use it. After running apoc.cypher.parallel("MATCH(n) RETURN n") I get the error:
Correct. The data I'm trying to return is very big (approx. 1 million of nodes) and I can't return it. The app crashes so I assume that having it parallelised, I can have the data faster(?)