ViewQuery


Object Hierarchy:

Object hierarchy for ViewQuery

Description:

public class ViewQuery : Object

Object to build a query to a view. Uses fluent design pattern to build a query object that can be passed to client.get_query().

Example use:

  var query = new ViewQuery()
.design("dev_recipes")
.view("by_ingredient")
.key(""""carrots"""")
.limit(30);
var query_result = client.get_query(query);
foreach ( var result in query_result.rows ) {
var recipe = result.get_document<Recipe>();
stdout.printf( "%s\n", recipe.name );
}


Namespace: Couchbase
Package: couchbase

Content:

Creation methods:

Methods:

Inherited Members: