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]} }});