neodash icon indicating copy to clipboard operation
neodash copied to clipboard

Auto-prefix all read queries with a parallel runtime statement

Open nielsdejong opened this issue 1 year ago • 3 comments

As of the latest Neo4j version, we support a parallel runtime which greatly speeds up Cypher queries. We can probably help our users by automatically adding the runtime prefix in front of their queries:

CYPHER runtime = parallel

A caveat is that this throws an error for write queries, which may occur in NeoDash. So we have two options:

  • Enable the parallel runtime prefix by default, but have it be disabled in the advanced settings.
  • Disable the prefix by default, but have it optionally enabled in the advanced settings.

nielsdejong avatar Nov 15 '23 08:11 nielsdejong