News for hackers. Stuff that matters.
Re:Why You Should Never Use MongoDB by mattkrea on Monday November 11, 2013 @05:31PM (#6714570)
I think a lot of people (at least in the Node community) love the interfaces provided for it and specifically Mongoose which allows you to enforce a schema and thus relational data.

I'll admit that I originally got into it because I didn't really know SQL and I'm still not very talented with it but for example.. Joins in Mongoose? Say there is a comment.. this comment has an author. If that author is type ObjectId when I run a query I can do this:

model.comment.find({_id: <some id>}).populate('author').exec(e, result) { // author will be populated with that author's data instead of just the ID }

Re:Why You Should Never Use MongoDB by camus2 on Monday November 11, 2013 @09:19PM (#6715465)
I use mongodb only when i have to write an app in Node. Not because it's the better solution , but because mongoose is the only library that deals with data that is mature on npm. The rest is beta at best and drivers for RDBMS are not mature enough.
Re:Why You Should Never Use MongoDB by hoffer on Tuesday November 12, 2013 @12:52PM (#6719387)
The mysql driver on NPM is indeed mature. Been using it with out issue for a couple years now in a large app. https://npmjs.org/package/mysql
Re:Why You Should Never Use MongoDB by mattkrea on Monday November 11, 2013 @11:49PM (#6715909)
I had thought the mysql drivers were all more mature or is it that you lean more toward postgresql?