Cross Databases


Do you have any idea how to call one same type field fromdifferent databases according to the roles of users?


Likely the best solution would be a server-side script that captures the API call. The call is made from the client to the script rather than to a DB service, and the script evaluates the user’s role and determines which DB service to call, then returns the response from the DB to the client as the response to the client’s call.