Wednesday, 8 March 2017

Mongorules - new db abstraction library for Node.js: looking for feedback.

Hey,I just finished building a db abstraction layer for mongo and was looking for some feedback (http://ift.tt/2n6hXNj). Here's the gist:I never liked mongoose. I like the mongodb shell query syntax, and learning another language in addition to that seemed unnecessary. Also the docs kinda suck. I've ran into other problems, but I don't want to hate on mongoose too hard.Mongorules mimics the mongodb query syntax allowing you to write queries like this:var result = yield db.users.findOne({});It also optionally enforces schema validation, field transformation, and some other goodies. The docs are on GitHub. Check it out and lemme know what you think.Link: http://ift.tt/2n6hXNj

Submitted March 08, 2017 at 01:08PM by iamdevonbutler

No comments:

Post a Comment