Navigation

  • Config Reference
  • API Reference |
  • next |
  • previous |
  • Apache CouchDB 1.7 Documentation »
  • 6. CouchApp »

6.2. Guide to ViewsΒΆ

Views are the primary tool used for querying and reporting on CouchDB documents. There you’ll learn how they works and how to use them to build effective applications with CouchDB

  • 6.2.1. Introduction Into The Views
    • What Is a View?
    • Efficient Lookups
      • Find One
      • Find Many
      • Reversed Results
    • The View to Get Comments for Posts
    • Reduce/Rereduce
    • Lessons Learned
    • Wrapping Up
  • 6.2.2. Views Collation
    • Basics
    • Examples
    • Sorting by Dates
    • String Ranges
    • Collation Specification
      • Key ranges
      • Complex keys
    • _all_docs
    • Raw collation
  • 6.2.3. Joins With Views
    • Linked Documents
    • Using View Collation
      • Approach #1: Comments Inlined
      • Approach #2: Comments Separate
      • Optimization: Using the Power of View Collation
  • 6.2.4. View Cookbook for SQL Jockeys
    • Using Views
      • Defining a View
      • Querying a View
      • MapReduce Functions
      • Map functions
    • Look Up by Key
    • Look Up by Prefix
    • Aggregate Functions
    • Get Unique Values
    • Enforcing Uniqueness
  • 6.2.5. Pagination Recipe
    • Example Data
    • A View
    • Setup
    • Paging
    • Paging (Alternate Method)
    • Jump to Page

Logo

Quick Search


Previous topic

6.1. Design Functions

Next topic

6.2.1. Introduction Into The Views

Utilities

  • Futon

More Help

  • Homepage
  • Wiki
  • Mailing Lists
  • IRC
  • Issues
  • Download
  • Show on GitHub
  • Edit on GitHub

Navigation

  • Config Reference
  • API Reference |
  • next |
  • previous |
  • Apache CouchDB 1.7 Documentation »
  • 6. CouchApp »
© Copyright 2018, The Apache Software Foundation. Created using Sphinx 1.4.