2 joy460154849 joy460154849 于 2017.09.19 15:16 提问

nodejs某一个表读取失败(查询到的是“[]”),其他表可以查询

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

}

Csdn user default icon
上传中...
上传图片
插入图片