排序: db.foo.find().sort({_id:1}) 查找字段不存在的记录 db.foo.find({"test":null}) Foo.objects(test__exists=Fase).all()