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 (ussing $set, $pushAll, $pullAll) 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
16 - pre_save($operation, Array &$document): Right before to perform and insert or update
17 - on_save(): When a document is saved
18 - on_iterate(): On iteration, when the cursor moves to the next document
21 - Add efficient support for references to another Record, and an efficient way to load it (with one query if possible)
22 - Add Support for efficient updates on nested arrays