Does mongodb require a schema?



Does mongodb require a schema?..

Answer / Chandra Prakash Rawat

MongoDB itself does not enforce a strict schema like traditional SQL databases. However, when using Mongoose (an ODM for MongoDB), you are required to define a schema for each model.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Does mongodb support foreign key constraints?

1 Answers  


What is morphia mongodb?

1 Answers  


Why mongodb is faster?

1 Answers  


How to update operations immediately sync to disk in mongodb?

1 Answers  


How do I create a collection in mongodb? Write it's syntax

1 Answers  


What is the “__v” field in mongoose?

1 Answers  


How do you display the list of all collections of current database?

1 Answers  


What kind of database is mongodb?

1 Answers  


What is the difference between mongodb and redis database?

1 Answers  


How to create primary/foreign key relationships in mongodb?

1 Answers  


Is mongodb support relationship?

1 Answers  


What is schema mongodb?

1 Answers  


Categories