MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / set_option

Method set_option

couchbase/logic/n1ql.py:381–391  ·  view source on GitHub ↗

Set a raw option in the query. This option is encoded as part of the query parameters without any client-side verification. Use this for settings not directly exposed by the Python client. :param name: The name of the option :param value: The value o

(self, name, value)

Source from the content-addressed store, hash-verified

379 arg_array.extend(json_args)
380
381 def set_option(self, name, value):
382 """
383 Set a raw option in the query. This option is encoded
384 as part of the query parameters without any client-side
385 verification. Use this for settings not directly exposed
386 by the Python client.
387
388 :param name: The name of the option
389 :param value: The value of the option
390 """
391 self._params[name] = value
392
393 @property
394 def params(self):

Callers 15

metricsMethod · 0.95
timeoutMethod · 0.95
consistencyMethod · 0.95
consistent_withMethod · 0.95
adhocMethod · 0.95
client_context_idMethod · 0.95
max_parallelismMethod · 0.95
pipeline_batchMethod · 0.95
pipeline_capMethod · 0.95
profileMethod · 0.95
query_contextMethod · 0.95
send_to_nodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected