The wise MongoDB API
_id
recursively (fix #3)opts
arg to Collection.count
and collection.distinct
Collection.removeById
, Collection.findById
, Collection.updateById
in favor of using remove
, findOne
and update
directlycollection.id
and manager.id
in favor of monk.id
monk('localhost')
can be used as a promise which resolves when the connection opens and rejects when it throws an error (fix #24, fix #10)Collection.findAndModify
in favor of Collection.findOneAndDelete
and Collection.findOneAndUpdate
(fix #74)Manager.create
(fix #50)rawCursor
to Collection.find
to return the raw cursor (fix #103)aggregate
method (#56)dropIndex
and dropIndexes
methods (#113)util.inherits
instead of __proto__
castIds
option to disable the automatic id casting (#1, #72)complete rewrite of monk: