0
我有一個收集已嵌套場,怎麼能我申請NOT條件 我想在此集合在嵌套的Fileds蒙戈DB不等於
select * from crawled_jobs where coordinates 0!= 0 and 1 != 0
將此查詢在一些記錄有不是座標,有日誌和緯度是0
我有一個收集已嵌套場,怎麼能我申請NOT條件 我想在此集合在嵌套的Fileds蒙戈DB不等於
select * from crawled_jobs where coordinates 0!= 0 and 1 != 0
將此查詢在一些記錄有不是座標,有日誌和緯度是0
db.crawled_jobs.find({loc:{coordinates:{$nin:[0,0]} }});