|
Because MongoDB is not a relational database, classic ORM principles don't apply.
The adaptation of these principles result in something like an ODM, useful as an ORM, for automating database transactions with ease.
Here are some key features of "Mongoose":
· Models/Schemas
· Schema Types
· Schema Options
· Middleware
· Find Docs
· Update Docs
· Queries
· Query Streams
· Methods & Statics
· Defaults
· Indexes
· Validation
· Virtuals
· Getters / Setters
· Embedded Docs
· Populate (DBRef-like)
· Plugins
· Errors
Requirements:
· MongoDB 1.0.2 or higher
· Node.js 0.4 or higher
What's New in This Release: [ read full changelog ]
Added:
· Support for geo object notation
Fixed:
· $within query casting with arrays
· Unix domain socket support
Via: Mongoose 3.5.3 / 3.5.4-pre
0 Comment:
Post a Comment