graphql-python/graphene-mongo

Switch Mongoengine DB at run time

harsh04 opened this issue · 0 comments

I have a requirement where each client's data is stored in a different DB. The schema is the same for all clients in this case. So I need to switch_db while the query is being processed.
Is there any way to configure graphQL to select DB to be used?