2017-07-27 138 views

回答

0

我認爲你在尋找這樣的事情

db.col.find({$or: [ 
    {$and: [ {"b.123": null}, {"b.123":{$exists : true}} ]}, 
    {$and: [ {"b.345": null}, {"b.345":{$exists : true}} ]}, 
    {$and: [ {"b.567": null}, {"b.567":{$exists : true}} ]} 
]}) 
相關問題