When doing multi-tenant applications using a RDMBS I use tenantId
columns in each table to indicate which tenant a row belongs to.
How would I do that in a DocumentDatabase? Let's take mongodb for instance. Is DBRef
the way to go? Or am I stuck in the relational thinking? Or would you use something other than a documentdb?
(I'm pretty new to nosql)