I would like to use a separate database file per client for an SaaS. I am 
using node-express as middleware. I am not using Foxx as Foxx cannot be 
segregated from the database file itself.

Currently I am changing the database to use based on the user JWT token via 
a middleware function and the Javascript driver function 'useDatabase'. So 
multiple users share the same middleware and are routed to their respective 
database files. 

This seems to work at first but fails seemingly randomly. I instead would 
prefer to pass the actual db name with each and every Http call, but naming 
the db in the Javascript driver doesn't seem to be supported/recommended.

What are my (other) options? I would prefer not to have a multi tenant 
database for security and administration reasons. 

Thank you. 

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/7f78aeb1-672d-49fb-8bbc-16f43f3d06f7n%40googlegroups.com.

Reply via email to