roadapps.mod-journey
v1.0.0
Published
RoadApps Journey Module
Downloads
1
Readme
RoadApps Journey Scheme
$ npm install roadapps.mod-journey
Usage
var mongoose = require('mongoose');
var Schemas = require('roadapps.mod-journey')(mongoose);
mongoose.connect('mongodb://localhost/heisenberg');
Schemas.Travel.find({
destination: 'SP'
}, function(err, travels) {
// some thing else
travels.forEach(console.log.bind(console)); // whynot?
});
Schemas
- Travel