Changelog
3.0.4 / 2016-07-07
Changelog
3.0.2 / 2016-07-06
Changelog
3.0.0 / 2016-07-06
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)Changelog
2.1.0 / 2016-06-24
util.inherits
instead of __proto__
castIds
option to disable the automatic id casting (#1, #72)Changelog
2.0.0 / 2016-06-23
complete rewrite of monk:
return real promises (#104)
update mongoskin and mongodb (#111)
auto binding of the methods
eslint
test coverage
Support $ne, $in, $nin for id casting
Make the sort option behave like fields
Collection.update
now return an object:
{
n: number of matched documents,
nModified: number of modified documents,
nUpserted: number of upserted documents
}