Sets a N1QL statement to be executed.
Namespace: Couchbase.N1QLAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)

Parameters
- queryPlan
- Type: Couchbase.N1QL.IQueryPlan
The IQueryPlan that was prepared beforehand.
Return Value
Type: IQueryRequestA reference to the current IQueryRequest for method chaining.

If both prepared and statement are present and non-empty, an error is returned.

Required if statement not provided.
