Search code examples
neo4jnestjsdrivine

Running multiple statements in one query using Drivine and Neo4j


I am trying to run four statements in one query to the database. It gives me an error message saying only one statement per query is possible.

Is this possible with Drivine using Neo4j? If it is a setting, where can I find it and what value does it need?


Solution

  • The database client, in this case Drivine, is not really relevant here because this is a limitation of Neo4j and its drivers.

    To run multiple statements in just one query there are two options that come to my mind: