Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Create Couchbase 6 Views

Couchbase views allow you to present to your users a variation of the underlying data in your bucket. This course covers how these can be designed using JavaScript and the MapReduce model, and then invoked using REST API calls.

Intermediate
2h 35m
(1)

Created by Kishan Iyer

Last Updated Jun 28, 2024

Course Thumbnail
  • Course

Create Couchbase 6 Views

Couchbase views allow you to present to your users a variation of the underlying data in your bucket. This course covers how these can be designed using JavaScript and the MapReduce model, and then invoked using REST API calls.

Intermediate
2h 35m
(1)

Created by Kishan Iyer

Last Updated Jun 28, 2024

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Data
What you'll learn

Views in Couchbase allow you to present to your users a specific version of the underlying document data in a Couchbase bucket. This means that you can define which documents and which fields from those documents a user will see, which can also involve transforming this data before presenting to the user. Such views are coded in JavaScript using the MapReduce programming model.

We start off by creating a basic view using JavaScript in order to present data from a Couchbase bucket. We cover how views are invoked using a REST API call, and also how they can be created, modified and deleted using both the Web UI and the Couchbase API.

We then delve into the details of the map and reduce methods which constitute each Couchbase view, and explore how these can be used to filter, project and aggregate document data.

The course then moves on to the best practices when designing Couchbase views in order to create the most efficient and relevant views for your end users. We also look into how views effectively function as queries on document data by translating SQL to MapReduce views.

Finally, we explore use cases for views, which includes how their output can be filtered, and then use Couchbase views to simulate transactions.

Once you’re done with this course, you will be well-versed in the topic of Couchbase views! You will have a firm grasp of the MapReduce programming model and how it can be used with some basic JavaScript to present a view of your documents to users of your data.

Create Couchbase 6 Views
Intermediate
2h 35m
(1)
Table of contents

About the author
Kishan Iyer - Pluralsight course - Create Couchbase 6 Views
Kishan Iyer
40 courses 4.0 author rating 129 ratings

An engineer at heart, I am drawn to any interesting technical topic. Big Data, ML and Cloud are presently my topics of interest.

Get started with Pluralsight