Hello Community,
I have a basic Node JS app where below code hits only neo4J
default database out of the box,
I have 2 use case:
-
How can I pass the database other than one default database
neo4j
? -
I have multiple databases with same schema and relationship and ONLY data is different. Now say I am building an
graphql
endpoint for query and mutation. Question is, during runtime (while calling the API) how to can send the database name (db1, db2, ect)? I have a plan to deploy thegraphql endpoint
along withApollo server
overAzure function
. Thoughts/idea/solution please?const driver = neo4j.driver(
"bolt://localhost:7687",
neo4j.auth.basic("neo4j", "letmein")
);