Reputation: 405
I have a Neo4J DBMS with multiple DBs. And I want to query all of them with a GraphQL API in NextJS.
So is there a smart way to do this, like choosing which DB should be queried?
Upvotes: 0
Views: 75
Reputation: 144
There is a neat way of doing just that with the @neo4j/graphql JS library. Once you followed the getting started steps linked above, take a look at the driver configuration page of the documentation. Especially the part regarding specifying which Neo4j database to use may be of interest to you.
Upvotes: 3