List of Listings
Chapter 1. A database for the modern web
Listing 1.1. A document representing an entry on a social news site
Chapter 2. MongoDB through the JavaScript shell
Listing 2.1. Typical explain("executionStats") output for an unindexed query
Chapter 3. Writing programs using MongoDB
Listing 3.1. archiver.rb—A class for fetching Tweets and archiving them in MongoDB
Listing 3.2. viewer.rb—Sinatra application for displaying the Tweet archive
Listing 3.3. tweets.erb—HTML with embedded Ruby for rendering the Tweets
Chapter 4. Document-oriented data
Listing 4.1. A sample product document
Listing 4.2. A category document
Listing 4.3. An e-commerce order, with line items, pricing, and ...
Get MongoDB in Action, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.