Executing Queries

One of the most powerful parts of Couchbase Server is the ability to find data through map / reduce views and indexes or by executing N1QL (SQL like) 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 Couchbase Docs. 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().

Last updated