mongo-collection
A very lazy way to get a mongo collection with mongoskin
Last updated 7 years ago by dguttman .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mongo-collection 
SYNC missed versions from official npm registry.

Mongo Collection

You should probably never need this, but I use it because I can never remember / can't be bothered to remember how to get a collection using Mongoskin.

Usage

var mc = require('mongo-collection');

var dogsCollection = mc('localhost', 'animals-db', 'dogs');

dogsCollection.find(...) // etc...

Current Tags

  • 0.1.2                                ...           latest (7 years ago)

4 Versions

  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.0                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |