| ||||
Due to the fact MongoDB is not a relational database, vintage ORM ideas never utilize.
The adaptation of these principles end result in some thing like an ODM, beneficial as an ORM, for automating database transactions with ease.
Here are some crucial functions of "Mongoose":
· Types /Schemas
· Schema Sorts
· Schema Choices
· Middleware
· Come across Docs
· Update Docs
· Queries
· Query Streams
· Methods & Statics
· Defaults
· Indexes
· Validation
· Virtuals
· Getters / Setters
· Embedded Docs
· Populate (DBRef-like)
· Plugins
· Errors
Necessities :
· MongoDB 1.. two or larger
· Node.js. four or greater
What is New in This Release : [ go through whole changelog ]
Transformed :
· No longer offically supporting node. 6.x
Additional :
· Guidance for GeoJSON to Query # in close proximity to
· Stand- by yourself base query assist - question.toConstructor()
· Promise help to geoSearch
· Promise help for geoNear
Set :
· Setters not firing on null values
· Deal with a different versioning edge case
Via: Mongoose 3.7.3
No comments:
Post a Comment