我正在使用MongoDBshell版本3.6.3并尝试执行以下类型的查询(来自JAVA):SELECT_id,ressort,datefromsampleWHEREressort!="A".我的一段代码是:MongoClientmongo=newMongoClient("localhost",27017);MongoDatabasedatabase=mongo.getDatabase("local");MongoCollectioncollection=database.getCollection("sample");FindIterablefindIterable=collectio