CouchbaseBucket Prepare Method (String)Couchbase .NET SDK 2.1.0 Documentation
Prepare an ad-hoc N1QL statement for later execution against a Couchbase Server.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
public IQueryResult<IQueryPlan> Prepare(
	string statement
)

Parameters

statement
Type: System String
A string containing a N1QL statement.

Return Value

Type: IQueryResult IQueryPlan 
A IQueryResult T  containing the IQueryPlan representing the reusable and cachable execution plan for the statement.

Implements

IBucket Prepare(String)
See Also