apoc.couchbase.namedParamsQuery

Procedure

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?) :: (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

Output parameters

Name Type

queryResult

LIST? OF MAP?