user2026884
user2026884

Reputation: 37

Logical OR Missing from Prisma with MongoDB

I was trying yo use MongoDB as database with Prisma, but after few queries, I noticed that Logical OR and NOT are missing.

When I switch the DB to Postgres, everything is at place ( AND, OR, NOT are there).

Am I missing something?

Prisma version is 1.34.0

Ty

Upvotes: 0

Views: 371

Answers (1)

Harshit Pant
Harshit Pant

Reputation: 498

This is a known issue in Prisma.

https://github.com/prisma/prisma/issues/3897

No, these were disabled in the Mongo connector in order to enable filters on relations. We might bring them back in the future, but for now we valued a quicker implementation of relational filters higher than OR, NOT.

Upvotes: 1

Related Questions