Quantcast
Channel: mongoose schema creation - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by fbeshears for mongoose schema creation

You do need to run this initialization code every time you run your app to register your app's Schemas with mongoose.When your app ends, mongoose does not store your Schema(s). So, the next time you...

View Article


Answer by freakish for mongoose schema creation

One defines Schema so application understands how to map data from the MongoDB into JavaScript objects. Schema is a part of application. It has nothing to do with database. It only maps database into...

View Article

mongoose schema creation

I've just started with mongoose. I have a creation script with mongoose that creates the schemas and db with sample data.Now I write the actual application. Do I need to create the schema object each...

View Article
Browsing latest articles
Browse All 3 View Live