Hi team, got a question for you.
Here is the scenario… there will be standard (one mandatory) connection to one db, in this db, there is a collection which has customer db details(username,pwd). On each API call, there’ll be orgId
that is passed as request body. Based on the orgId
input, we should be fetching the relevant customer db details from the initial db. Based on the db details acquired from the DB call, we should connect to that particular DB and perform CRUD operation on the particular collection
Can we achieve this using mongorepository and spring boot?