1 Really simple ActiveRecord for MongoDB
2 ----------------------------------------
4 This class is under development, don't use it yet.
8 - Handle MongoDB connection, conecting once when it is needed
9 - Define a Collection as a class
10 - Abstracts iteration over a dataset
11 - Efficient save() which creates or updates efficiently (using $unset, $set) a record
12 - Provides simple queries interface, but allows to get MongoCollection for complex queries in sub-classes
13 - Delete current object, Drop() table
14 - Support filtering per property
15 - Support for efficient updates on nested documents
17 - pre_save($operation, Array &$document): Right before to perform and insert or update
18 - on_save(): When a document is saved
19 - on_iterate(): On iteration, when the cursor moves to the next document
22 - Add efficient support for references to another Record, and an efficient way to load it (with one query if possible)