IBucketQueryT Method (String) |
Executes a N1QL query against the Couchbase Cluster.
Namespace: Couchbase.CoreAssembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxIQueryResult<T> Query<T>(
string query
)
Function Query(Of T) (
query As String
) As IQueryResult(Of T)
generic<typename T>
IQueryResult<T>^ Query(
String^ query
)
abstract Query :
query : string -> IQueryResult<'T>
Parameters
- query
- Type: SystemString
An ad-hoc N1QL query.
Type Parameters
- T
- The Type to deserialze the results to. The dynamic Type works well.
Return Value
Type:
IQueryResultTAn instance of an object that implements the
IQueryResultT interface; the results of the query.
See Also