How to implement or in a MongoDB query
I am trying to query information by entering either value 1 or value 2 from the database. Here is the body of the request: { "query": { "Value1": {"$regex": "222"} "value2": {"regex":"359"} } } I tried: { "query": { "$or":…