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
- statement
- Type: System.String
Any valid N1QL statement for a POST request, or a read-only N1QL statement (SELECT, EXPLAIN) for a GET request.
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 prepared not provided.
