Click or drag to resize
IBucketQueryT Method (String)
Executes a N1QL query against the Couchbase Cluster.

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

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: IQueryResultT
An instance of an object that implements the IQueryResultT interface; the results of the query.
See Also