Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hervelabas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
hervelabas
6y ago
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.
2.
▲
by
hervelabas
6y ago
> 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 safety if you
3.
▲
by
hervelabas
6y ago
> 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 of refactori
4.
▲
by
hervelabas
6y ago
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: https://en.wikipedia.org/wiki/Object-relational_impe