3 ms·
:) Happy that you noticed the thought that went into presenting the examples. I hadn't come across those other libraries. On Prisma, I think I agree with your
by gmac 6y ago
:) Happy that you noticed the thought that went into presenting the examples.
I hadn't come across those other libraries.
On Prisma, I think I agree with your assessment. A key thing that this and Prisma have in common is interrogating your DB to generate types. Zapatos is (almost) wholly limited to generating types, while it seems Prisma generates a bunch of code too.
Prisma seems somewhat more like an ordinary ORM. It introduces more of its own terminology and abstractions, has its own ways of inserting into and querying related tables, and so on. At a glance, it looks nicely thought out. It has plans to become a SaaS of some sort.
Mammoth, on the other hand, looks like it tries to solve a very similar problem to Zapatos, and gets there by providing a query builder. You define all your tables manually in code, and then write SQL through the medium of TypeScript.