64 read_preference_ = preference;
99#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
104namespace impl::subdoc
The cluster is the main entry point when connecting to a Couchbase cluster.
Definition cluster.hxx:60
Common options that used by most operations.
Definition common_options.hxx:37
auto self() -> lookup_in_any_replica_options &
Definition common_options.hxx:102
auto build_common_options() const -> built
Definition common_options.hxx:89
Represents result of lookup_in_replica operations.
Definition lookup_in_replica_result.hxx:34
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
read_preference
Select read preference (or affinity) for the replica APIs such as:
Definition read_preference.hxx:39
@ no_preference
Do not enforce any filtering for replica set.
std::function< void(error, lookup_in_replica_result)> lookup_in_any_replica_handler
The signature for the handler of the collection::lookup_in_any_replica() operation.
Definition lookup_in_any_replica_options.hxx:97
Immutable value object representing consistent options.
Definition lookup_in_any_replica_options.hxx:47
couchbase::read_preference read_preference
Definition lookup_in_any_replica_options.hxx:48
Options for collection::lookup_in_any_replica().
Definition lookup_in_any_replica_options.hxx:40
auto build() const -> built
Validates options and returns them as an immutable value.
Definition lookup_in_any_replica_options.hxx:79
auto read_preference(read_preference preference) -> lookup_in_any_replica_options &
Choose how the replica nodes will be selected.
Definition lookup_in_any_replica_options.hxx:62