neo4j-rstats / neo4r

A Modern and Flexible Neo4J Driver
https://neo4j-rstats.github.io/user-guide/
Other
106 stars 30 forks source link

How to select the database within a DBMS #98

Open cboulanger opened 1 year ago

cboulanger commented 1 year ago

I was looking through the documentation but could not find how to specify the database to use with the currently running Neo4J instance - it always connects to the default one. Does this need to go into the URL and if yes, how exactly?

thank you.

cboulanger commented 1 year ago

Ok, seems like prepending USE <graph name> to the cypher queries does the job. However, it would be nice if it was possible to select the database used without having to tinker with the cypher queries.