IQueryRequest.Prepared Method Couchbase .NET SDK 2.0
Sets a N1QL statement to be executed.

Namespace: Couchbase.N1QL
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
IQueryRequest Prepared(
	IQueryPlan queryPlan
)

Parameters

queryPlan
Type: Couchbase.N1QL.IQueryPlan
The IQueryPlan that was prepared beforehand.

Return Value

Type: IQueryRequest
A reference to the current IQueryRequest for method chaining.
Remarks
If both prepared and statement are present and non-empty, an error is returned.
Remarks
Required if statement not provided.
See Also