apoc.couchbase.namedParamsQuery

Procedure APOC Full

apoc.couchbase.namedParamsQuery(hostkOrKey, bucket, statement, paramNames, paramValues) yield queryResult - executes a N1QL statement with named parameters.

Signature

apoc.couchbase.namedParamsQuery(hostOrKey :: STRING?, bucket :: STRING?, statement :: STRING?, paramNames :: LIST? OF STRING?, paramValues :: LIST? OF ANY?, config = {} :: MAP?) :: (queryResult :: LIST? OF MAP?)

Input parameters

Name Type Default

hostOrKey

STRING?

null

bucket

STRING?

null

statement

STRING?

null

paramNames

LIST? OF STRING?

null

paramValues

LIST? OF ANY?

null

config

MAP?

{}

Output parameters

Name Type

queryResult

LIST? OF MAP?