Home:ALL Converter>MongoDB multiple condition in WHERE clause

MongoDB multiple condition in WHERE clause

Ask Time:2014-07-01T23:15:46         Author:Psyche Genie

Json Formatter

In MongoDB i have to give OR condition in WHERE clause

I am a beginner. I dont know how to acheive this?

DELETE FROM tablename WHERE id = 6 OR id =8

What is the similar query in MongoDB??

Author:Psyche Genie,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/24513766/mongodb-multiple-condition-in-where-clause
yy