mongodb-client
A nice API client for MongoDB.
Features
- Make API as same as MongoDB CRUD Reference
- Reading the source codes just like reading the document of MongoDB client.
- Fix native mongodb
insertedIds
data format error onoptions.ordered = false
. - Remove
insert()
method, please use the more clearinsertMany()
andinsertOne()
instead. - Disable
options.forceServerObjectId
on write methods. - ...
Installation
$ npm install mongodb-client
Quick start
const co = ;const MongoDB = ; const db = 'mongodb://localhost:27017/myproject';// listen db connect error eventdb;// wait for db connecteddb;
License
APIs
CURD
Insert Documents
TBD
Modify Documents
TBD
Query Documents
TBD
Remove Documents
Indexes
TBD
Aggregation
TBD
Administration
TBD