Skip to content

Tag Archives: Mongoose

The Connection.prototype.modelNames() method of the Mongoose API is used on the Connection object. It allows us to get information about all the models that have… Read More
The Connection.prototype.dropDatabase() method of the Mongoose API is used on the Connection object. It allows us to delete particular database from MongoDB. Along with the… Read More
The Mongoose Schema API Connection.prototype.model() of the Mongoose API is used on the Connection objects. It allows us to define new model in the MongoDB… Read More
The Connection.prototype.set() method of the Mongoose API is used on the Connection object. It allows us to set the value for keys in the options… Read More
The Connection.prototype.dropCollection() method of the Mongoose API is used on the Connection object. It allows us to delete particular collections from the MongoDB database. With… Read More
The Document API.prototype.$op property of the Mongoose API is used on the Document model. It allows us to determine the ongoing operation mongoose in performing… Read More
The Document API.prototype.$isDefault() method of the Mongoose API is used on the Document model. It allows us to check whether a particular field in Schema… Read More
The Document API.prototype.$ignore() method of the Mongoose API is used on the Document model. It allows mongoose to save documents by ignoring some changes to… Read More
The Document API.prototype.$isEmpty() method of the Mongoose API is used on the Document model. It allows us verify whether any field in the document is… Read More
The Document API.prototype.$isDeleted() method of the Mongoose API is used on the Document model. It allows us to identify whether a document is removed or… Read More
The Document API.prototype.$isNew property of the Mongoose API is used on the Document model. It allows us verify whether a document is newly created. When… Read More
The Document API.prototype.directModifiedPaths() method of the Mongoose API is used on the Document model. It allows us to get the list of fields which we… Read More
The Document API.prototype.equals() method of the Mongoose API is used on the Document Model object. It allows us to verify whether two document objects are… Read More
The Aggregate API.prototype.exec() method of the Mongoose API is used to perform aggregation tasks. It allows us to execute the aggregate pipeline on the current… Read More
The Document API.prototype.isSelected() method of the Mongoose API is used on the Document model. It allows us to check whether specific path or field is… Read More

Start Your Coding Journey Now!