Wednesday, 17 June 2020

Node.js ORM impasse

In the past weeks, I've tried to make the switch from Django to Node.js (NestJs + Express) for my current project - SaaS application. I'm sort of stuck since I can't seem to find an ORM that is flexible and feature-rich enough. What I'm looking for is a way to switch between DB schemas at runtime without the need to establish a new connection on every request - and a migration system that does not break in a multi-schema system.I'm looking to implement a multi-schema approach to have tenant isolation at the DB level.Is there any chance to implement this with an existing ORM for Node without reinventing the wheel?I tried Prisma and TypeORM so far.

Submitted June 17, 2020 at 04:53PM by memo_mar

No comments:

Post a Comment