cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Configuration for multiple databases

Hi,

I have a question about the configuration of Neo4jGraphql with multiple databases on 1 Neo4j database instance.
I have a database instance with multiple databases on it and with this configuration, GraphQL only works on the default database (neo4j - by default). How can I configure the neo4j-graph database to make it works with other databases?

My current configuration:

const driver = neo4j.driver(
  'neo4j://localhost:7687',
  neo4j.auth.basic( 'neo4j',    'password')
);

I found this on documentation but have no idea about the schema variable.

const server = new ApolloServer({
  schema,
  context: { driver, driverConfig: { database: "sanmateo" } }
});
0 REPLIES 0