#prisma #MongoDB #ORM
I don't think Prisma is the best ORM for MongoDB (based on what I've seen, my experience, or even compared to Mongoose).
One problem I face most of the time is that MongoDB only allows transactions on a replica set, which Prisma requires to avoid partial writes on nested queries. This makes the setup more difficult because a locally installed MongoDB doesn't have a replica set configured by default. Running Prisma without a replica set results in an error. Let me hear your thoughts on this. I feel like Prisma is more compatible with PostgreSQL since it feels so right using Prisma in a Postgres project.
u can use MongoDB atlas to fix this issue but i mean am a type of Guy who love to run my projects locally before deployment and also have a lot of internet issues 😁
@selfmadecoder
I don't think Prisma is the best ORM for MongoDB (based on what I've seen, my experience, or even compared to Mongoose).
One problem I face most of the time is that MongoDB only allows transactions on a replica set, which Prisma requires to avoid partial writes on nested queries. This makes the setup more difficult because a locally installed MongoDB doesn't have a replica set configured by default. Running Prisma without a replica set results in an error. Let me hear your thoughts on this. I feel like Prisma is more compatible with PostgreSQL since it feels so right using Prisma in a Postgres project.
u can use MongoDB atlas to fix this issue but i mean am a type of Guy who love to run my projects locally before deployment and also have a lot of internet issues 😁
@selfmadecoder