Querying Buckets

Besides the document and atomic operations, Couchbase supports two other ways of querying your data: Views and N1QL. Views allow you to provide secondary and composite indexes and transform results using Map/Reduce. N1QL is the new language for querying documents in Couchbase Server.