CouchbaseBucket.QueryAsync<T> Method (IViewQueryable)Couchbase .NET SDK 2.3.3
Asynchronously 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 Task<IViewResult<T>> QueryAsync<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: Task<IViewResult<T>>
An awaitable Task<TResult> with the T a IViewResult<T> instance.

Implements

IBucket.QueryAsync<T>(IViewQueryable)
Remarks
Note this implementation is experimental and subject to change in future release!
See Also