DeriveODM is a reactive ODM - Object Document Mapper - framework, a "wrapper" around MongoDB, that removes all the hassle of data-persistence by handling it transparently in the background, in a DRY manner.
Added projection option.
watch(on)
instance method for toggling on/off ChangeStream support.getAllRead
and mapRead
SyncManager
sync interval changed to 0, and is now called with setImmediate
.delete
keyword, which will trigger an unset
on the equivalent property of the DB document.$callback
syntax for updating properties and attaching callbacks to be called once an update occurs in the DB._id
$onUpdate
.lodash.clonedeep
as other modules are buggy.Connect
as alias to Model
module function.length
to allowed get properties.fast-clone
package instead of the slower clone
.SyncManager
engine, to clone the queues to local variables, as to release them for the next operations sooner an more quickly.mainIndex
method to model classes - to allow getting the MainIndex