What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-13 22:24:17
find all mongoose
//create model students const mongoose = require("mongoose"); const Schema = mongoose.Schema; const StudentSchema = new Schema({ name: String, dob: Date, mobile: String, address: String, }); module.exports = mongoose.model("stud... Add solution -
Javascript 2021-10-01 17:34:05
not fetch data from mongoose
//All objects add 's' behind => 'student' to 'students' const mongoose = require("mongoose"); const Schema = mongoose.Schema; const StudentSchema = new Schema({ name: String, dob: Date, mobile: String, address: String, }); module... Add solution