- Added .count() (#3) (@tothradoslav)
- Added license
- Added aggregation (#1) (@tothradoslav)
- Removed deprecated usage.
- Added
updateOne
,updateMany
andbulkWrite
.
- Enable projection via the
fields
parameter in the options passed tofind()
. This works like normal projection and is just passed toproject()
when it exists.
const docs = SomeCollection.find({
_id: 1
}, {
fields: {
someField: 1
}
});
- Initial version.