IBucketQueryT Method (IViewQuery) |
Executes a View query and returns the result.
Namespace: Couchbase.CoreAssembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxIViewResult<T> Query<T>(
IViewQuery query
)
Function Query(Of T) (
query As IViewQuery
) As IViewResult(Of T)
generic<typename T>
IViewResult<T>^ Query(
IViewQuery^ query
)
abstract Query :
query : IViewQuery -> IViewResult<'T>
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:
IViewResultTAn instance of an object that implements the
IViewResultT Type with the results of the query.
RemarksUse one of the IBucket.CreateQuery overloads to generate the query.
See Also