mongodbで複数の条件を見つける
Find Multiple Conditions Mongodb
db.collection1.find({price:{$in:[1,2]}}) // (Contains ... or Contains ...) Query price contains 1 or 2 data db.collection1.find({price:{$nin:[1,2]}}) // (Does not contain ... and does not contain ...) Query the data that price does not contain 1 and does not contain 2