Click or drag to resize
IBucketQueryT Method (IViewQuery)
Executes a View query and returns the result.

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

Parameters

query
Type: Couchbase.ViewsIViewQuery
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: IViewResultT
An instance of an object that implements the IViewResultT Type with the results of the query.
Remarks
Use one of the IBucket.CreateQuery overloads to generate the query.
See Also