CFCouchbase SDK
  • Introduction
  • What's New With 2.2.0
  • What's New With 2.0.0
  • About This Book
  • Authors
  • Overview
  • Installation
    • ColdBox Module
    • Traditional Apps
  • Configuration
    • Settings
    • Structure
    • Summary
  • Usage
    • Storing Documents
    • Storage Durability
    • Retrieving Documents
    • Data Serialization
    • Components
      • Auto Inflation
      • Manual Inflation
      • Custom Serialization
      • Binary
    • Custom Transformers
    • Executing Queries
      • View Queries
      • n1ql Queries
      • Query Options
      • Filter Closures
      • Transform Closures
      • Return Types
    • Managing Views
    • Working With Futures
  • Help & Support
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Usage

Executing Queries

PreviousCustom TransformersNextView Queries

Last updated 7 years ago

Was this helpful?

One of the most powerful parts of Couchbase Server is the ability to find data through map / reduce or by executing queries which were introduced in Couchbase Server 4.0. We do not cover all the intricacies of views or N1QL, for that please visit the official . We focus on how to leverage them from CFCouchbase.

There are 2 types of queries available in the SDK:

Both types of queries can be executed through the parent facade of query() or through their standalone methods of viewQuery() and n1qlQuery().

views and indexes
N1QL (SQL like)
Couchbase Docs
View Queries
N1QL Queries