Why is not Object _id of hotel save in mongoDB – Javascript
How to fix this error ? Here is HotelRoom Module const mongoose = require('mongoose'); const Schema = mongoose.Schema; const HotelRoomSchema = new Schema({ name : { type : String, require : true }, numberofRooms : { type : Number, require…