This document discusses NoSQL databases and provides an example of using MongoDB to calculate a total sum from documents. Key points: - MongoDB is a document-oriented NoSQL database where data is stored in JSON-like documents within collections. It uses map-reduce functions to perform aggregations. - The example shows saving ticket documents with an ID and checkout amount to the tickets collection
![CouchDB Vs MongoDB](https://cdn-ak-scissors.b.st-hatena.com/image/square/52f15d2ab6aa5c950053bc2b6a64b43a624449e4/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2F20100123dodugi-alt-100124141539-phpapp02-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)