I am working on multi-tenant application so i have multiple mongodb now i want to specify a database in the model

Anyone have any idea about this how to do?

Hi Nayan, I am not sure your question is sufficiently clear: it is quite ambiguous to me

Hi Andrew, as i have told above i have multiple mongo database in my application now, i really want to assign a specify mongo database to a specific model.

Example- i have 5 models and i have 2 mongo database, for 3 models i want to assign mongo database1 and for 2 models i want to assign mongo database2.

i believe these will clear my question.