DEV Community

Discussion on: Building a Prisma Schema

Collapse
 
andreas83 profile image
Andreas Beder

I started recently a project with Prisma and was quite disappointed how limited the orm is. It started all quite well and seemed good documented. But after digging a bit deeper with subquerys and or aggregate function I soon started to realize that Prisma is not feature complete as I thought in the first place.

Collapse
 
sabinthedev profile image
Sabin Adams

For sure. Like any ORM, there are definitely some querying limitations on what you can do with Prisma’s client. Using an ORM you trade off some flexibility and power for ease of use and standardization.

It isn’t really a fit for every query. I’ve tended to use the rawQuery function when having to run something an ORM isn’t meant to handle.