@palmabit/co-mongo-crud
Crud with mongoDb and co
Last updated 2 years ago by palmabit-dev .
UNLICENSED · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @palmabit/co-mongo-crud 
SYNC missed versions from official npm registry.

Co mongo crud

Crud with mongoDb and co. It works with node 6+.

Build Status

Installation

npm install @palmabit/co-mongo-crud --save

Usage

const Crud = require('co-mongo-crud').Crud
const buildQueryOptions = require('co-mongo-crud').buildQueryOptions

const posts = new Crud('stringConnection', 'posts')

const options = buildQueryOptions('querystringparams', [])

crud.list(options, (err, docs) => {} )

Tests

npm test

Coverage

npm run-script coverage

Author

Palmabit

License

MIT license

Current Tags

  • 2.1.4                                ...           latest (2 years ago)

4 Versions

  • 2.1.4                                ...           2 years ago
  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 1
Last Week 1
Last Month 2
Dependencies (3)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |