我的feathersjs 应用程序中有简单的猫鼬服务。在我的笔记本电脑(mongo 3.6.6)中,我查询应用程序并接收正确的数据:
在数据中,我有 4 行,总计 = 4。很好。但是,如果我在服务器(mongo 4)上对我的应用程序进行相同的查询,我会收到不同的响应:
我的数据中有 4 个文档,它是有效的,但“总数”中有 595 个,这个无效
我想我必须总共有4个
我的羽毛应用程序中有以下依赖项:
"dependencies": {
"@feathersjs/authentication": "^2.1.6",
"@feathersjs/authentication-jwt": "^2.0.1",
"@feathersjs/authentication-local": "^1.2.1",
"@feathersjs/configuration": "^1.0.2",
"@feathersjs/errors": "^3.3.0",
"@feathersjs/express": "^1.2.2",
"@feathersjs/feathers": "^3.1.5",
"compression": "^1.7.2",
"cors": "^2.8.4",
"feathers-mongodb": "^3.1.0",
"feathers-mongoose": "^6.1.1",
"helmet": "^3.12.0",
"mongodb": "^3.1.0-beta4",
"mongoose": "^5.0.18",
"serve-favicon": "^2.5.0",
"winston": "^2.4.2"
},