I am not sure that the logic for handing multi tenant belongs in the ORM layer here, unless the tenants share a database. In that case, you simply add in a Tenant table, and manage your queries appropriately. When you are managing multiple databases, do they all have identical schemas? We use Graphql to bridge our Authentication / Authorization process with Nestjs and manage custom systems for our users. Each client has a custom schema.