@palmabit/co-mongo-crud

2.1.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @palmabit/co-mongo-crud

Weekly Downloads

0

Version

2.1.4

License

UNLICENSED

Unpacked Size

14.5 kB

Total Files

11

Last publish

Collaborators

  • palmabit-dev
  • a.sarzina
  • francesco
  • drubetti