Added InvalidDocumentError

Ensures defined documents are valid and users don't override core methods
by accident.

fixes #275
This commit is contained in:
Ross Lawley
2011-09-09 17:36:40 +01:00
parent 60f0491f62
commit 050542c29b
3 changed files with 20 additions and 2 deletions

View File

@@ -5,7 +5,8 @@ Changelog
Changes in dev
==============
- Added GenericEmbeddedDocument - So you can embed any type of embeddable document
- Added InvalidDocumentError - so Document core methods can't be overwritten
- Added GenericEmbeddedDocument - so you can embed any type of embeddable document
- Added within_polygon support - for those with mongodb 1.9
- Updated sum / average to use map_reduce as db.eval doesn't work in sharded environments
- Added where() - filter to allowing users to specify query expressions as Javascript