nodejs 查询不到mongoose某个数据表内容是什么情况,其他表的数据可以查询到,就是某一表的数据查询不到
module.exports = function(app) {
const mongoose = app.mongoose;
const RegionsSchema = new mongoose.Schema({
REGION_ID: { type: Number },
REGION_CODE: { type: String },
REGION_NAME: { type: String },
PARENT_ID: { type: Number },
REGION_LEVEL: { type: Number },
REGION_ORDER: { type: Number },
REGION_NAME_EN: { type: String },
REGION_SHORTNAME_EN: { type: String }
});
return mongoose.model("Region", RegionsSchema);
}