NoSQL: MongoDB Tips and Tricks: You Only Wish MongoDB Wasn't Relational

| | bookmark | email

MongoDB Tips and Tricks: You Only Wish MongoDB Wasn't Relational

So when you read that MongoDB is a document store, you might get the wonderful idea to store your relationships in a big document. Since mongo lets you reach into objects, you can query against them, right? Several times, we've excitedly begun a schema this way, only to be forced to pull the nested documents out into their own collection. I'll show you why, and why it's not a big deal.

tags:mongodb

via NoSQL databases