Collection.find({
$or: [
{
"type": "a",
"target.a": { $gt: 5, $lt: 10 }
},
{
"type": "b",
"target.b": { $in: ['a', 'b', 'c'] }
}]
})
var query = {
name: 'John',
age: '18'
}
delete query['age']
Users.find( query ).limit(20);