Click or drag to resize
QueryClientQueryT Method
Executes an ad-hoc N1QL query against a Couchbase Server.

Namespace: Couchbase.N1QL
Assembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public IQueryResult<T> Query<T>(
	Uri server,
	string query
)

Parameters

server
Type: SystemUri
The Uri of the server.
query
Type: SystemString
A string containing a N1QL query.

Type Parameters

T
The Type to cast the resulting rows to.

Return Value

Type: IQueryResultT
An IQueryResultT implementation representing the results of the query.

Implements

IQueryClientQueryT(Uri, String)
See Also