#Multi tenant - 1 db per tenant on mongo nestjs

2 messages · Page 1 of 1 (latest)

runic hare
#

Hi does anyone here have built nestjs mongo multitenant app that has 1 db per tenant? How did you do it? Like having a custom dynamic provider for the mongoose schema

tawdry meteor
#

@runic hare - MongoDB (or rather its client) isn't a great solution for this. If you can keep the number of tenants per app low, you'll get away with it. Otherwise, you'll need to look for a different data store.