Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidguttman/mongo-collection
A very lazy way to get a mongo collection with mongoskin
https://github.com/davidguttman/mongo-collection
Last synced: 5 days ago
JSON representation
A very lazy way to get a mongo collection with mongoskin
- Host: GitHub
- URL: https://github.com/davidguttman/mongo-collection
- Owner: davidguttman
- Created: 2013-05-21T22:54:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-05T23:12:32.000Z (almost 11 years ago)
- Last Synced: 2024-10-18T06:52:01.981Z (26 days ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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...