I want to browse the raw data stored in Mongodb by Mongoose. Where does it go? I have a Schema called Profile with several profiles stored in it, but using the Mongodb shell db.Profiles.find()
and db.Profile.find()
doesn't return anything.
The Schema,
var Profile = new Schema({
username : {type: String, index: true, required: true}
, password : {type: String, required: true}
, name : {type: String, required: true}
});
See Question&Answers more detail:os