3 ms·
The end goal is goal is different: - Prisma is supposed to use as an ORM and not to be publicly exposed (although you can if you want) - Postgraphile is a way
by brunoluiz 6y ago
The end goal is goal is different:
- Prisma is supposed to use as an ORM and not to be publicly exposed (although you can if you want)
- Postgraphile is a way to create an API using only your DB schema as reference. There are some tricks here and there, but you would need to do dig quite deep in SQL.
I tried postraphile and is quite cool for quick prototypes. Once you need something more custom, it gets tricky and weird (it is doable though). I haven’t tried Prisma in prod because, at the end, I am pretty happy with sqlc in Golang (code generator based on SQL queries).