4 ms·
IMO any discussion about Node/TypeScript data access tools deserves a reference to Zapatos, which sort of is the anti-Prisma. It has all the type safety with no
by skrebbel 6y ago
IMO any discussion about Node/TypeScript data access tools deserves a reference to Zapatos, which sort of is the anti-Prisma. It has all the type safety with none of the ORM (and it's Postgres-specific, for better and worse). I think it's got one of the best designed APIs I've come across.
https://jawj.github.io/zapatos/ https://jawj.github.io/zapatos/
- parhamn 6y ago> prioritis[ing] ease of switching to another database tomorrow over effective use of this database today, are a source of misery. hah. This looks cool, thanks for sharing!
- nikolasburk 6y agoFully agree, Zapatos is super nice – and so are similar tools like pgtyped and Slonik. We actually mention all these in our docs here: https://www.prisma.io/docs/concepts/overview/should-you-use-prisma#-you-want-to-use-raw-type-safe-sql-for-querying-your-database https://www.prisma.io/docs/concepts/overview/should-you-use-... I think the main difference of these libraries compared to Prisma is the level of abstraction. If you want to work with SQL and you appreciate type-safety, then all of these tools will be fabulous options for you! If you want to work on a somewhat higher level of abstraction but still have full type-safety, Prisma will be more appropriate.
- smt88 6y agoPgTyped is similar, and it's superior to any other data access layer I've ever used. Ever.