Prepare an ad-hoc N1QL statement for later execution against a Couchbase Server.
Namespace: Couchbase.N1QLAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
SyntaxIQueryResult<IQueryPlan> Prepare(
Uri server,
string statement
)
IQueryResult<IQueryPlan> Prepare(
Uri server,
string statement
)
Function Prepare (
server As Uri,
statement As String
) As IQueryResult(Of IQueryPlan)
Function Prepare (
server As Uri,
statement As String
) As IQueryResult(Of IQueryPlan)
IQueryResult<IQueryPlan^>^ Prepare(
Uri^ server,
String^ statement
)
IQueryResult<IQueryPlan^>^ Prepare(
Uri^ server,
String^ statement
)
abstract Prepare :
server : Uri *
statement : string -> IQueryResult<IQueryPlan>
abstract Prepare :
server : Uri *
statement : string -> IQueryResult<IQueryPlan>
Parameters
- server
- Type: System.Uri
The Uri of the server.
- 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.
See Also