Answer the question
In order to leave comments, you need to log in
How to populate Mongodb/Mongoose correctly?
let mobileScheme = new Schema({
name: {
id:{
src:String,
title:String,
value:Number,
about:String
}
}
});
let Mobile = mongoose.model("Mobile", mobileScheme);
Answer the question
In order to leave comments, you need to log in
If you just need to hammer the base, then mongoose-dummy is perfect . The tool is fairly lightweight and can only work with bare mogoose circuitry.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question