Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is schema in mongoose?



What is schema in mongoose?..

Answer / Surya Kant

In Mongoose, a schema defines the structure of a document (data object). It specifies the fields and their data types for each model. You can create a new schema using const Schema = mongoose.Schema; and define its properties.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

What is the syntax to create a collection and to drop a collection in mongodb?

1 Answers  


What is a secondary or slave?

1 Answers  


What is difference between mongod and mongodb?

1 Answers  


What is the difference between mongodb and cassandra?

1 Answers  


Is mongodb normalized?

1 Answers  


Will there be journal replay programs in case of incomplete entries (if there is a failure in the middle of one)?

1 Answers  


If you remove a document from database, does mongodb remove it from disk?

1 Answers  


How did mongodb get its name?

0 Answers  


Is it necessary to install mongodb compass?

1 Answers  


How does mongodb provide consistency?

1 Answers  


Can I use mongodb for free?

1 Answers  


What is the method to configure the cache size in mongodb?

1 Answers  


Categories