Mark As Completed Discussion

Build your intuition. Click the correct answer from the options.

What is the purpose of defining a schema in Mongoose?

Click the option that best answers the question.

  • To establish a connection to the MongoDB database
  • To create a blueprint for defining the structure of documents
  • To perform CRUD operations on the MongoDB database
  • To handle errors and exceptions in Mongoose