How to dry run neo4j cypher requests
I was trying to write a request in neo4j browser to make some changes to the data. However, I am not sure if it will work or not. So I was wondering if there is a way that I can dry the execution of queries before I run it. Or can I return an invalid request?
The idea here is similar to the powershell whatif command to avoid accidents: http://www.computerperformance.co.uk/powershell/powershell_whatif_confirm.htm
thank
+3
source to share
1 answer
You can add a sentence with EXPLAIN
. This will allow you to profile your request without actually running it.
Check out this link for more information on profiling: https://neo4j.com/docs/developer-manual/current/cypher/query-tuning/how-do-i-profile-a-query/
+4
source to share