Not yet indeed. Prisma doesn't support long running transactions and advocates for alternative ways. We're preparing a post on the topic soon, and will improve the means for those alternatives.
> They can be compared in terms of who dictates the model/is the leading source of truth. You can also use introspection to keep the database as the source of truth for the model, and lean on the Prisma schema for type…
> My first instinct was to say type safety, but you don't really get that with JS either way. You get type safety if using it with TypeScript though: this is where Prisma adds a lot of value. Compile-time warnings, ease…
Prisma is a Query Builder, not an ORM (like Objection). We chose this approach since ORM suffer from the object-relational impedance mismatch problem (described here:…
Not yet indeed. Prisma doesn't support long running transactions and advocates for alternative ways. We're preparing a post on the topic soon, and will improve the means for those alternatives.
> They can be compared in terms of who dictates the model/is the leading source of truth. You can also use introspection to keep the database as the source of truth for the model, and lean on the Prisma schema for type…
> My first instinct was to say type safety, but you don't really get that with JS either way. You get type safety if using it with TypeScript though: this is where Prisma adds a lot of value. Compile-time warnings, ease…
Prisma is a Query Builder, not an ORM (like Objection). We chose this approach since ORM suffer from the object-relational impedance mismatch problem (described here:…