1.0.1 • Published 10 years ago

mesh-mongodb v1.0.1

Weekly downloads
8
License
ISC
Repository
github
Last release
10 years ago

Build Status Coverage Status Dependency Status

mesh-mongodb is a streamable interface for the Mongodb library. See additional operation documentation here: http://meshjs.herokuapp.com/docs/database-adapters.

installation

npm install mesh-mongodb

Basic Example:

var mesh = require("mesh");
var mongodb = require("mesh-mongodb");

var db = mongodb("mongodb://localhost:27017/mesh-test");
db(mesh.op("insert", { data: { name: "blarg"}})).on("data", function() {

});

db mongodb(host)

creates a local meshelt database

  • options - options for the local db
    • name - name of db (optional)
    • store - store to use
1.0.1

10 years ago

1.0.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago