4 ms·
Daniel from the Prisma team here. Both Prisma and ORMs abstract away from SQL and let you "think in objects". However, how they do that is different. With ORM
by 2color 6y ago
Daniel from the Prisma team here.
Both Prisma and ORMs abstract away from SQL and let you "think in objects". However, how they do that is different.
With ORMs, you typically map tables to model classes
With Prisma, the focus is on queries and structural typing; queries return plain objects that are fully typed based on the query.
For a broader comparison with ORMs, check out the documentation page about why Prisma is not an ORM: https://www.prisma.io/docs/understand-prisma/prisma-in-your-stack/is-prisma-an-orm https://www.prisma.io/docs/understand-prisma/prisma-in-your-...
- wiremine 6y agoCool, thank you very much!