Contents
Preface
Conventions Used in This BookContent Updates
October 19, 20111. Introduction
Resources for Installing CouchDB2. MapReduce
Temporary ViewsMap
One-To-One MappingOne-To-Many MappingConclusionReduce
CountSumStatsCustom Reduce Functions3. Design Documents
Titles View4. Querying Views
Range QueriesRows by Start and End KeysRows by KeyRows by Start and End Keys and Document IDsLimiting, Skipping, and Reversing Results
LimitSkipReversing OutputGrouping
Exact GroupingGroup Levels5. MapReduce Views for SQL Users
DocumentsRelationships
One to ManyEmbedded JSON arrayRelated documentsMany to ManyList of keysBooks and related author dataAuthors and related book dataBooks and related author referencesAuthors and related book referencesRelationship documentBooks and related authorsAuthors and related books
Overview
Learn how to create MapReduce views in CouchDB that let you query the document-oriented database for meaningful data. With this short and concise ebook, you'll get step-by-step instructions and lots of sample code to create and explore several MapReduce views, using an example database you construct.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access