CouchbaseBucket.CreateQuery Method (String, String, Boolean)Couchbase .NET SDK 2.0
Creates an instance of an object that implements IViewQuery, which targets a given bucket and design document.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public IViewQuery CreateQuery(
	string designdoc,
	string viewname,
	bool development
)

Parameters

designdoc
Type: System.String
The design document that the View belongs to.
viewname
Type: System.String
development
Type: System.Boolean
True will execute on the development dataset.

Return Value

Type: IViewQuery
An IViewQuery which can have more filters and options applied to it.

Implements

IBucket.CreateQuery(String, String, Boolean)
See Also