dbstream-mongo
Mongo DB access layer compatible with the dbstream API
Usage
var db = ;var connection = db; // write or updatevar cursor = cursor;cursor;cursor;cursor; // read ;
API
This module implements the dbstream API. For the complete documention see: https://github.com/avinoamr/dbstream
connect( url, options )
url
a mongodb connection url stringoptions
standard mongodb connection options, plus acollection
name key- Returns a dbstream Connection object
Creates a MongoDB connection. Uses the MongoClient.connect arguments.