co-yongoose
v0.0.1
Published
A mongoose REPL with yield
Downloads
6
Readme
co-yongoose
A mongoose REPL with yield support, based on Co and mongoose-q.
Install
npm install co-yongoose
Usage
$ node --harmony examples/index.js
> Model loaded: Post
> post = new Post({title: 'foo'})
> yield post.saveQ()
> yield Post.findQ()