anyone can answer my question? :disappointed:
# orm-help
r
anyone can answer my question? 😞
v
sorry i didn't understand your question
how come I can't do where OR / NOT in mongodb
r
sorry
basically
i have setup a mongodb database
but i can only do WHERE AND operation
but not WHERE OR
@Vittorio Adamo
as you can see there is only AND
but no NOT / OR
v
sorry man I've valorized them in my docs
r
how did you enable that?
v
I'm using postgress and prisma
1.24.0
but i think the db is not releated with this
r
ah
its because of mongodb
i think
😞
not supported maybe
thanks anyway
v
maybe because u're query a relation
e
Could you not use where
IN
for the same effect?
r
I can but I want to query two fields for my condition
OR [ {"field1_contains": "something"}, {"field2_contains": "something"} ]
e
Ah, thank makes it tricky without the
OR
, strange it's not an option. 🤔