CouchbaseBucket.Query<T> Method (IViewQueryable)Couchbase .NET SDK 2.3.3
Executes a View query and returns the result.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
public IViewResult<T> Query<T>(
	IViewQueryable query
)

Parameters

query
Type: Couchbase.Views.IViewQueryable
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.

Implements

IBucket.Query<T>(IViewQueryable)
Remarks
Use one of the IBucket.CreateQuery overloads to generate the query.
See Also