IBucket Query T  Method (IViewQuery)Couchbase .NET SDK 2.1.0 Documentation
Executes a View query and returns the result.

Namespace: Couchbase.Core
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
IViewResult<T> Query<T>(
	IViewQuery query
)

Parameters

query
Type: Couchbase.Views IViewQuery
The IViewQuery used to generate the results.
Type Parameters
T
The Type to deserialze the results to. The dynamic Type works well.

Return Value

Type: IViewResult T 
An instance of an object that implements the IViewResult T  Type with the results of the query.
Remarks
Use one of the IBucket.CreateQuery overloads to generate the query.
See Also