Search:

Search all manuals
Search this manual
Manual
Couchbase Developer's Guide 2.0
Community Wiki and Resources
Download Couchbase Server 2.0
Couchbase Server 2.0 Manual
Client Libraries
Couchbase Server Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Couchbase Developer's Guide 2.0
Child Sections
Chapters

Chapter 4. Finding Data with Views

Table of Contents

4.1. Understanding Views
4.2. Filtering and Extracting Data
4.3. Building an Index
4.4. Providing Efficient Lookups
4.5. Ordering Results
4.6. Handling Result Sets
4.7. Using Built-In Reduces
4.8. Using Compound Keys and Group-By Functions
4.9. Using Views from an Application
4.10. Creating Custom Reduces
4.11. Understanding Custom Reduces and Re-reduce
4.12. Error Handling for Views

In Couchbase 2.0 you can index and query JSON documents using views. Views are functions written in JavaScript that can serve several purposes in your application. You can use them to:

This chapter will describe how you can do the following using Couchbase SDKS and view functions:

This section is not an exhaustive description of views and managing views with Couchbase Server; it is merely a summary of basic concepts and SDK-based examples to start using views with Couchbase SDKs. For more detailed information about views, managing views, and handling views using Couchbase Web Console, see Couchbase Server Manual: Views and Indexes. To see examples and patterns you can use for views, see Couchbase Views, Sample Patterns