mongoose-bucket
Basic usage (setup)
MySchema = mongoose; MySchema;
options
const options = limit: 100 // number of items per bucket arrayName: 'bucket' // name of the array containing the subdocs
Basic usage (save to next bucket)
Callback
MySchema
Promise
MySchema
get (dev) going
- nvm use
- npm i
- ??
- npm run test